Research Article

Iterative Sensor Clustering and Mobile Sink Trajectory Optimization for Wireless Sensor Network with Nonuniform Density

Algorithm 2. Arc-shape sector boundary adjustment.

Input :
Output:
1 ifthen
2  fordo
3    and
4   Forming
5   Calculating
6   
7   end
8 end
9 ifthen
10  Find included
11  Update
12  fordo
13   Calculate
14 end
15
16  
17   which
18  Find which has shortest Euclidean
    distance
19   removes
20   includes
21  Update
22  fordo
23   Calculate
24  end
25  
26  ifthen
27   
28  end
29  ifthen
30   
31  end
32 end
33 return
Algorithm 2. Arc-shape sector boundary adjustment.