Research Article
Efficient and Adaptive Node Selection for Target Tracking in Wireless Sensor Network
Algorithm 1
EANS node selection algorithm.
() input set of candidate nodes , | () set of selected nodes , | () | () Max_residual_energy = 0 | () while () | () for each | () if (residual_energy() > Max_residual_energy) | () Max_residual_energy = residual_energy() | () Max_residual_energy_N = | () end if | () end for | () | () end while | () = Max_residual_energy_N | () add () to SN | () , | () Max_utility = 0 | () while ( && ) | () for each | () calculate | , && | () if ( > Max_utility) | () Max_utility = | () add () to SN | () end if | () end for | () end while | () goto line () | () output SN |
|