Research Article

Performance Optimization in UAV-Assisted Wireless Powered mmWave Networks for Emergency Communications

Algorithm 3

FPP-I∂E.
Run at the UAV
Input: , , , , , ,,
Output:
1: ; ; ;
2: For each grid except for the current grid do
3:  Initialize and to an empirical value
4:  ; ; ; ;
5: End for
6:
7: For each grid except for the current grid do
8:  
9:  Ifthen add to End If
10: End if
11: Ifthen
12:  Generate a random number from 0 to 1
13:  Ifthen
14:   Select a grid from according to formula (43)
15:   Ifthen
16:    
17:   Else
18:    
19:   End if
20:   Invoke Algorithm2 to get and update , ,
21:   
22:   ; ;
23:   
24:   Go to 6
25: Else
26:   Select a grid from according to formula (44)
27:   Go to 15
28: End if
29: End if
30: Return