Research Article

Efficient Multiway Relaying for Data Sharing in Energy Harvesting Sensor Networks

Algorithm 1

Algorithmic presentation of the proposed power allocation technique.
(1) Assign full power to all sensors by setting
(2) Choose a power deduction step
(3) Set
(4) repeat
(5)    Calculate for all based on the relaxed constraints
(6)    Find and
(7)    
(8)    For all ,
(9) until   shows no improvement compared to the previous step