Research Article

Replica Node Detection Using Enhanced Single Hop Detection with Clonal Selection Algorithm in Mobile Wireless Sensor Networks

Algorithm 3

Global verification.
If (globalverification)
 Replica list = 0
 For each ID in the list of witnessed nodes of this node list of witnessed nodes of the meeting node
  
   Local claim = fetch local claim of id from local stored claims
   Compare claim = fetch claim of id from meeting node
   If (neighbor list of local claim ≠ neighbor list in compare claim)
    
       Set replica = true
      Add id to replica list