Research Article

An Anchor Node Selection Scheme for Improving RSS-Based Localization in Wireless Sensor Network

Algorithm 1

The proposed localization algorithm based on anchor node selection scheme.
1.Begin
2.For each unknown node do
3.Indentifying the unknown node and performing anchor selection according to the different types of the unknown node
4.Calculating the weight for each selected anchor node
5.Building the objective function using the Equation (10)
6.Generate initial population of n nests(solutions) ,i=1,2…n
7.Set the range of and : , , ,
8.Set the range of the nest(solution): ,
9.Set the maximum number of iterations:N_itertotal
10.Calling Algorithm 2
11.End