Mathematical Problems in Engineering / 2012 / Article / Alg 3

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
     𝑃 G e n : 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 𝑖 ∈ [ 1 β‹― π‘˜ ]
    For each particle π‘š ∈ [ 1 β‹― 𝑛 / π‘˜ ]
      Clone operation: 𝑁 𝑐 = 𝛼 𝑁
      Mutation operation: 𝑐 𝑖 = π‘₯ 𝑖 + 𝛽 r a n d
      Replacement (restrain) operation:
      ξƒŽ 𝑑 ( 𝑖 , 𝑗 ) = 𝑛 βˆ‘ 𝑖 = 1 ( 𝑐 𝑖 𝑑 βˆ’ 𝑦 𝑗 𝑑 ) 2 , 𝐴 ( 𝑖 , 𝑗 ) = 1 / 𝑑 ( 𝑖 , 𝑗 )
     If 𝐴 ( 𝑖 , 𝑗 ) > threshold, the particle (antibody) is replaced
    End For
   End For

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