|
Algorithm 1: Select candidate relay nodes |
Procedure: Find candidate relay nodes
-
Input: : Channel coefficient between sink and node,
: Channel coefficient between nodes and ;
Output: : A set of candidate relay nodes;
For do
| Regard node as a relay node
| Get (channel coefficient between relay and node );
| Calculate the difference of channel gain to relay and sink, ;
| Sort in the ascending order;
| For do
| | Assume top j nodes in use the relay node;
| | Minimize MSE of CRP, with power constraint for all nodes including relay;
| | Calculate transmission power () of all nodes;
| End
| Find optimal number of nodes that can use node as relay and record
End
Sort in the ascending order;
Select a number of top nodes as relay candidates based on ;
Return
|