|
Algorithm 1 SCA-based alternating algorithm for
|
|
Input:, K, N, , , , P, B, , , , , , , , s, A, , and tolerant threshold , ; |
-
1:
-
2:
Initialize: Iterative number , local point , ;
-
3:
-
4:
repeat
-
5:
-
6:
Solve P2.2 by applying CVX under the given trajectory and get the optimal bits allocation in each slot , and ;
-
7:
-
8:
Update the iterative number ;
-
9:
-
10:
Let , and ;
-
11:
-
12:
repeat
-
13:
-
14:
Initialize: Iterative number , local point and , ;
-
15:
-
16:
Solve P3.1 by applying CVX under the given bits allocation in each slot and get the optimal trajectory of the UAV ;
-
17:
-
18:
Update ;
-
19:
-
20:
Let ;
-
21:
-
22:
Get ;
-
23:
-
24:
until
-
25:
-
26:
Obtain the energy efficiency of the UAV by (14);
-
27:
-
28:
until
-
29:
-
30:
Let , , , ;
-
31:
Output:, , and .
-
32:
|