Research Article

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

Algorithm 1

Selection of witness node.
Randomly select an antigen and assign it to all antibodies in the Ab
Determine the vector which contain affinity of antibodies
Select the highest affinity antibodies from Ab
Clone the selected antibodies
Produce the number of clones for each of the selected antibodies
Assign to an affinity maturation process
Produce a population of matured clones
Determine the affinity of the matured clones
Among mature clones,
Elect witness node by choosing best highest affinity one () from the mature clones in the group
Replace the lowest affinity antibodies from Ab, with relation to , by new individuals