Algorithm 3 Exhaustive Search Algorithm. |
-
1:
Determine clusters and centroids
-
2:
Initial 3D UAVs placement() ← centroids
-
3:
for to do
-
4:
for do
-
5:
for do
-
6:
for do
-
7:
Calculate the local total throughput in cluster m based on (5) and (8) for the updated 3D coordinates, . Save this throughput.
-
8:
end for
-
9:
end for
-
10:
end for
-
11:
Find maximum of the local total throughput for cluster m
-
12:
Define 3D coordinates corresponding to the maximum local total throughput in cluster m
-
13:
end for
-
14:
Optimal UAVs placement is found
-
15:
Total throughput ← sum (local total throughput)
|