Research Article

Energy-Efficient Clustering and Localization Technique Using Genetic Algorithm in Wireless Sensor Networks

Algorithm 1

Pseudocode for the GA.
(1)Select: primary population
(2)Estimate: the individual capabilities of respective participant of the population
(3)Repeat
 Choose optimally performed participant to replicate
  Using a genetic operation (mutation and crossover), breed another generation and produce offspring
  Estimate the discrete capabilities of the reproduced offspring
  Substitute underperformed section of the population using the reproduced offspring
(4)Until <criteria are met>.