pso.Velocity {evoper} | R Documentation |
Calculates the PSO Velocity
pso.Velocity(W = 1, Vi, phi1, phi2, Pi, Pg, Xi)
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 |
Updated velocity