Research Article
Multiwinner Voting for Energy-Efficient Mobile Sink Rendezvous Selection in Wireless Sensor Network
Algorithm 3
Virtual rendezvous point recognition.
| Input: the visiting path , all sensor nodes , the communication range | | Output: a set of virtual rendezvous points VRPs | | 1: | | 2: for in do | | 3: if is rendezvous points then | | 4: continue; | | 5: end if | | 6: for to do | | 7: ; | | 8: evaluate the distance between node and edge ; | | 9: ifthen | | 10: ; | | 11: break; | | 12: end if | | 13: end for | | 14: end for | | 15: return; |
|