Research Article
An Improved Quantum-Behaved Particle Swarm Optimization Algorithm with Elitist Breeding for Unconstrained Optimization
Algorithm 2
The pseudocodes for the proposed EB-QPSO algorithm.
(1) Procedure of EB-QPSO | (2) For to swarm size | (3) randomize the position of each particle ; | (4) evaluate ; = ; | (5) Endfor | (6) Do | (7) = ; | (8) compute by (4); | (9) If elitist breeding criterion is met | (10) For to swarm size | (11) = ; | (12) Endfor | (13) = ; | (14) = transposon_op(); | (15) For to swarm size | (16) If < ; | (17) = ; | (18) Endif | (19) Endfor | (20) = ; | (21) Endif | (22) For to swarm size N | (23) calculate with (2); | (24) update with (3); | (25) If | (26) ; | (27) Endif | (28) Endfor | (29) Until maximum number of iterations is reached |
|