pso.Velocity: pso.velocity
Description
Calculates the PSO Velocity
Usage
pso.Velocity(W = 1, Vi, phi1, phi2, Pi, Pg, Xi)
Arguments
- W
Weight (Inertia weight or constriction coefficient)
- Vi
Current Velocity vector
- phi1
Acceleration coefficient toward the previous best
- phi2
Acceleration coefficient toward the global best
- Pi
Personal best
- Pg
Neighborhood best
- Xi
Particle vector