Research Article

Joint Next-Hop/Relay Selection for Distributive Multihop Cooperative Networks

Algorithm 1

JNRS protocol description.
Require: (, , )
()   begin
()    is maximum SNR of -NH link from the set of available links in ;
()    is maximum SNR of - link from the set of available links in ;
()    is maximum SNR of -NH link from the set of available links in ;
()   +ACK is indicated NH satisfied with source transmission;
()   −ACK is indicated NH wasn’t satisfied with source transmission;
()    is maximum signal-to-noise ratio link of ;
()   for each next-hop node in
()     is determined;
()   endfor
()   for each relay node in
()    , , are determined;
()   endfor
()   if , then
()    optimal NH transmits +ACK;
()    optimal relay node keep silent;
()   endif
()   eles , then
()    optimal NH transmits −ACK; then
()    optimal relay node retransmits source data;
()   endif