|
Algorithm 3: Joint Device Association and Power Control Online Optimization (JDAPCOO) algorithm |
-
1:
Input: Device set , UAV set , ground 5G base station set , channel state information, PD power maximum and the minimum transmission rate requirement of the PDs .
-
2:
Output: Optimal device association strategy and optimal power control scheme .
-
3:
repeat
-
4:
for each time slot do
-
5:
Initialize PDs’ power and decide the device association strategy and according to Algorithm 1.
-
6:
Based on and obtained from Algorithm 1, the power control scheme is decided using Algorithm 2.
-
7:
Update channel state information.
-
8:
.
-
9:
end for
-
10:
until .
-
11:
Return and .
|