Research Article

[Retracted] Energy Efficiency Analysis in Modified GoF Spectrum Sensing-Based AF Relay Cooperative Cognitive Sensor Network with Energy Harvesting

Algorithm 1

Optimal sensing time and transmission power.
(1)for α = 0 : 1
(2)Initialize the transmission power PSR, the maximum tolerance ε, EE q, a given detection probability and Lagrangian multiplier v
(3) Calculate the amplifying power gain β using (21)
(4)repeat
(5) Set
(6)repeat
(7) Update the transmission power PSR according to (26)
(8)Update the Lagrange multipliers and µ according to equations (27) and (28)
(9) until convergence of PSR
(10)  Update RS (α, PSR) and Etot (α, PSR)
(11) until
(12) Return ,
(13)end for
(14), ,