ParticleSwarmOptimizer.Particle Structure

Represents a particle in the swarm.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
public readonly struct Particle : ICandidate<Vector<double>>
Inheritance
Object  →  ValueType  →  ParticleSwarmOptimizer.Particle
Implements
ICandidate<Vector<Double>>

Properties

Index Gets the index of this particle in the population.
PersonalBest Gets or sets the personal best solution vector of this particle.
PersonalBestValue Gets or sets the personal best value of this particle.
Solution Gets or sets the solution vector of this particle.
Value Gets or sets the current value of this particle.
Velocity Gets or sets the velocity vector of this particle.

Methods

EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

See Also