Algorithm 2 Random-SNR-Based Algorithm. |
-
1:
Place a UAV in the center of each cluster
-
2:
Calculate NLoS-SNR() using (8)
-
3:
Generate users-rand(), Rand-NLoS-SNR = zeros(,1)
-
4:
for to do
-
5:
Rand-NLoS-SNR = NLoS-SNR(users-rand(1:))
-
6:
Delete users-rand(1:)
-
7:
end for
-
8:
total-throughput ← sum(Rand-NLoS-SNR)
|