initial Velocity
open override fun initialVelocity(position: DoubleArray, vMax: DoubleArray, pso: ParticleSwarmSolver): DoubleArray(source)
Produces an initial velocity for a particle.
Return
the initial velocity vector, the same length as position
Parameters
position
the particle's initial continuous position (problem input order)
v Max
the per-coordinate maximum speed (velocity clamp magnitude)
pso
the particle swarm solver requesting the initialization