SwarmSizeFnIfc

fun interface SwarmSizeFnIfc(source)

If supplied, this function determines the swarm size during the particle swarm process, overriding the scalar ParticleSwarmSolver.swarmSize.

Functions

Link copied to clipboard
abstract fun swarmSize(pso: ParticleSwarmSolver): Int