Mathematical Problems in Engineering / 2012 / Article / Alg 1

Research Article

An Immune Cooperative Particle Swarm Optimization Algorithm for Fault-Tolerant Routing Optimization in Heterogeneous Wireless Sensor Networks

Algorithm 1

The ICPSOA for fault-routing problem.
Input:  𝑃 S T 𝑜 : The information parameters of nodes
    𝑃 G e n : The iterated generations for searching process
Output: t n e s s ( 𝑝 𝑖 ) : The global optimal fitness
Step 1: Initialization: Generate initial particle swarm parameter.
Step 2: Immunization: Immune clone, mutation, particle selection and restrain.
Step 3: If termination criterion conditions are satisfied, go to  Step 5; else go to
   Step 4.
Step 4: Update: Update the velocity and position of each sub-swarm and particle.
Step 5: Output: Output the global optimal fitness of the particle swarm. Ends.

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.