Research Article

Deploying a Reliable UAV-Aided Communication Service in Disaster Areas

Algorithm 1

Exhaustive search algorithm.

Input:, , , ,
Output: (location), (obj. function)
Initialization:, ,
(while (or) do
(++; // increase UAVs
(fordo
(fortodo
= associate(,,);
(end
(ifthen
/∗    first constaint met∗/
(fortodo
(=QoSEval(,);
(=EnergyEval(,);
(end
(;
(ifthen
/∗    candidate solution∗/
(of = + ;
(ifthen
(;
(;
(end
(end
(end
(end
(end