Research Article

Relay Selection Joint Consecutive Packet Routing Scheme to Improve Performance for Wake-Up Radio-Enabled WSNs

Algorithm 1

Relay node selection algorithm.
(1)For each
(2)For each forwarding node of ,
(3)
(4)
(5) /∗collect all the forwarding node of and calculate
(6) their value∗/
(7)End For
(8)End For
(9)For each
(10) sort all nodes in the forwarding node set of by
(11) pick the node with the largest value
(12)
(13)
(14)
(15)End For