Research Article
Reliable Energy-Aware Routing Protocol in Delay-Tolerant Mobile Sensor Networks
Pseudocode 1
Pseudocode of the routing protocol.
// represents the neighbor nodes set | j = 0 | minRECBD=Infinite | for n=1;n≤; n++ do// represents the number of nodes in | if RECBD<minRECBD then | minRECBD = RECBD // represents the n- node in set | j = n | end if | end for | if j>0 then | forwardmessage() | end if |
|