Research Article
Particle Swarm Algorithms to Solve Engineering Problems: A Comparison of Performance
Pseudocode 1
Pseudocode of SiCPSO.
SiCPSO: | Swarm Initialization | initialize positions | initialize velocities | Evaluate fitness of each particle | Record pbest for each particle and gbest | Swarm flights through the search space | DO | FOR = 1 TO numberOfparticles DO | FOR = 1 TO numberOfdimensions DO | Update velocities with (4) | IF flip(0.925) | Update particles with (2) | ELSE | Gaussian update with (5) | END | END | END | Keeping particles | Evaluate fitness of each particle | Record pbest and gbest | WHILE(not stop condition) | result=bestOfTheSwarm() | RETURN(result) |
|