| Algorithm 2 Location Verification |
| Input: and |
| Output: |
| For each node |
| if () send message to its 2-hop neighbor nodes; |
| recalculate after removing the declared drifted node from its neighbor table; |
| recognize drifted nodes and unreliable anchors; |
| end |
| Algorithm 2 Location Verification |
| Input: and |
| Output: |
| For each node |
| if () send message to its 2-hop neighbor nodes; |
| recalculate after removing the declared drifted node from its neighbor table; |
| recognize drifted nodes and unreliable anchors; |
| end |