Research Article

Localization for Wireless Sensor Networks Assisted by Two Mobile Anchors with Improved Grey Wolf Optimizer

Algorithm 1

DASCAN Path.
Input: .
Output: : The lists of virtual anchors of and .
1.  ,
2.  ,,,
3.  While ()
4.   If
5.    
6.    
7.    
8.   Else if
9.    
10.    
11.    
12.   End if
13.   
14.  End while
15.  If
16.   If
17.    
18.   Else if
19.    
20.    
21.   End if
22.  Else if
23.   If
24.    
25.   Else if
26.    
27.    
28.   End if
29.  End if