Linear Decreasing Inertia
constructor(initialInertia: Double = ParticleSwarmSolver.defaultInitialInertia, finalInertia: Double = ParticleSwarmSolver.defaultFinalInertia, horizon: Int = ParticleSwarmSolver.psoDefaultMaxIterations)(source)
Parameters
initial Inertia
the starting inertia weight. Defaults to ParticleSwarmSolver.defaultInitialInertia.
final Inertia
the floor inertia weight reached at horizon. Must be positive and no greater than initialInertia. Defaults to ParticleSwarmSolver.defaultFinalInertia.
horizon
the number of iterations over which the decrease occurs. Must be >= 1. Defaults to ParticleSwarmSolver.psoDefaultMaxIterations; set it to match the solver's maximum number of iterations for a full decrease across a run.