ZeroVelocity

Initializes every particle's velocity to zero. This is the default and a common, stable choice: the swarm is initially driven only by the cognitive and social pulls.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun initialVelocity(position: DoubleArray, vMax: DoubleArray, pso: ParticleSwarmSolver): DoubleArray

Produces an initial velocity for a particle.

Link copied to clipboard
open override fun toString(): String