Research Article
DS+: Reliable Distributed Snapshot Algorithm for Wireless Sensor Networks
Algorithm 2
Reliable transmission of snapshot messages.
While not expired do | if receive = true then | While do | Wait for | sendU | | end while | else if receive = true then | if = null then | Take snapshot sn | = sn | end if | While do | sendU | | end while | end if | end while |
|