Velocity Initializer Ifc
Strategy interface for initializing a particle's velocity at the start of a run. Randomness is drawn through the supplied solver's single random number stream (ParticleSwarmSolver.rnStream).
Inheritors
Functions
Link copied to clipboard
abstract fun initialVelocity(position: DoubleArray, vMax: DoubleArray, pso: ParticleSwarmSolver): DoubleArray
Produces an initial velocity for a particle.