Research Article
An Intelligent Energy-Efficient Data Routing Scheme for Wireless Sensor Networks Utilizing Mobile Sink
Algorithm 1
The BS scheduled CH process.
| 1: Execute the cluster construction process | | 2: for Each group do | | 3: for Each cluster do | | 4: for Each SN do | | 5: Calculate using 15 | | 6: for Each and do | | 7: using 16 | | 8: end for | | 9: Set | | 10: push the tuple into vector . | | 11: Sort the vector in descending order. | | 12: for to do | | 13: labelling the second item of the pair in as . | | 14: end for | | 15: end for | | 16: Send the vector to cluster . | | 17: end for | | 18: end for |
|