Research Article
A Comparison of Selected Modifications of the Particle Swarm Optimization Algorithm
Algorithm 1
Original PSO algorithm.
| (1) initialize the position and velocity of all particles | | (2) repeat | | (3) for each particle to do | | (4) if then | | (5) | | (6) end if | | (7) | | (8) for each dimension to do | | (9) | | (10) | | (11) end for | | (12) end for | | (13) until termination criteria is met |
|