Research Article
Multiobjective Reliable Cloud Storage with Its Particle Swarm Optimization Algorithm
Algorithm 2
The designed CMPSO algorithm.
| (1) Randomly generate an initial swarm | | (2) Initialize the parameters, and for each particle in | | (3) , | | (4) while termination criterion is not satisfied do | | (5) | | (6) | | (7) non_dominate() | | (8) for each particle in do | | (9) for each particle in archive do | | (10) if dominates then | | (11) | | (12) end if | | (13) | | (14) Update velocity of using Eq. (19) | | (15) Update position of using Eq. (20) | | (16) Put the new position of in | | (17) end for | | (18) end for | | (19) Select from | | (20) end while | | (21) return the nondominated solutions |
|