Skip to main content
. 2017 Mar 9;17(3):547. doi: 10.3390/s17030547
Algorithm 1. The strategy for each sensor to determine the optimal uplink transmit power
1: Initially, sensor set the power level x as 0, there is no energy transmission at the beginning of the game.
2: for sensor iN do
3:  Start game, initial parameters τi,μi,ηi for the game;
4:  Based on the QoS requirements, set the final rate revenue level as Si
5: while xi>0, do
6:  Calculate the optimal uplink power based on Equation (17);
7:  Calculate the optimal strategy of power level based on Equation (20);
8:  Calculate the maximized revenue for each sensor based on Equations (14), (17) and (20);
9:  Updata power level xi for each sensor;
10: end while
11: end for