Research Article
Localization of Large-Scale Wireless Sensor Networks Using Niching Particle Swarm Optimization and Reliable Anchor Selection
Algorithm 4
Localize the unknown node with two neighbour references.
Input: unknown node and its neighbour references | Output: estimated position of if can be localized | measured distances of to | positions of | roots of | if then | return | else | | if = then | return cannot be localized | end if | | if then | return | else | | if then | | else | | end if | solution of Algorithm 3 using as inputs | return | end if | end if |
|