Research Article

Censoring-Based Relay Transmission for Achieving Energy Efficiency in Cognitive Radio Networks

Algorithm 1: Obtain optimal sensing time allocation factor for CRT.

1: Initialize: Let , , tolerance
 and be the interval of GSS;
2: Compute ;
3: Compute ;
4: Repeat
5:    Find optimal sensing time allocation factor for a given ;
6:    Calculate ;
7:    If then
8:      Obtain , , ;
9:      Calculate ;
10:    Else
11:      Obtain , , ;
12:      Calculate ;
13:    Endif
14: Until converges.
15: Output the optimal time allocation factor of P2.
Algorithm 1: Obtain optimal sensing time allocation factor for CRT.