Research Article
An Immune Cooperative Particle Swarm Optimization Algorithm for Fault-Tolerant Routing Optimization in Heterogeneous Wireless Sensor Networks
Algorithm 3
Immune mechanism in the ICPSOA.
Input:β: The population size of particles | ββββ : The iterated generations for searching process | ββββk: The population size of swarm | Output:βThe allele of the offspringβs antibodies (particles) | Process: | ββββ For each swarm | ββββFor each particle | ββββββClone operation: | ββββββMutation operation: | ββββββReplacement (restrain) operation: | βββββ, | βββββIf > threshold, the particle (antibody) is replaced | ββββEnd For | βββEnd For |
|