Research Article

Localization of Large-Scale Wireless Sensor Networks Using Niching Particle Swarm Optimization and Reliable Anchor Selection

Algorithm 2

Reliable reference nodes selection.
Input: unknown node and its neighbour references set ,
Output: selected reference nodes set
 Compute   for all
 Compute for all  
,  
while   do
  
  if   is not collinear with any two elements of   then
  
  if    then
    
  end if
  end if
  
end while
return