Research Article
Iterative Sensor Clustering and Mobile Sink Trajectory Optimization for Wireless Sensor Network with Nonuniform Density
Algorithm 1. Density-battery coupled sensor cluster algorithm.
Input : | Output: | 1 Make | 2 fordo | 3 Obtain | 4 end | 5 ifthen | 6 Find number of with lowest | 7 forn with lowest, anddo | 8. | 9 end | 10 end | 11 ifthen | 12 Find with most number of member nodes | 13 Find with lowest in | 14 | 15 end | 16 fordo | 17 Update with shortest | 18 end | 19 return |
|
Algorithm 1. Density-battery coupled sensor cluster algorithm. |