Research Article

3D Deployment of Unmanned Aerial Vehicle-Base Station Assisting Ground-Base Station

Algorithm 1

PSO algorithm that finds the efficient UAVBS placement.
Input:
The lower and upper bounds of decision variable (Varmin,Varmax), construction coefficients (), maximum number of iterations (), population size ()
Initialization:
;
For to
P(j) = unifrnd(Varmin, Varmax, Varsize)
PVelocity(j) = zeros(Varsize)
PCost(j) = Objectivefunction(P(j))
PBest(j) = P(j)
PBest.Cost(j) = P_Cost(j)
If
   GBest = P_Best(j)
End if
End
   PSO loop:
For to
For to
PVelocity(j) =
If
If
End if
End if
End
End