Research Article

Cell on Wheels-Unmanned Aerial Vehicle System for Providing Wireless Coverage in Emergency Situations

Algorithm 1

PSO algorithm that finds the efficient UAVBS placement.
(i)Input: the lower and upper bounds of decision variable (Varmin, Varmax), construction coefficients , maximum number of iterations , population size , total number of users , and served users by BS1
(ii)Initialization: ;
  (iii)BS1Loop:
(iv)for to
(v)for to
(vi)
(vii)
(viii)
(ix)
(x)
(xi)if
(xii)
(xiii)end if
(xiv)end
  (xv)PSO Loop:
(xvi)for to
(xvii)for to
  if
  
if
end if
end if
end
end
end
   BS2Loop:
for to
for to
if
end if
end
   PSO Loop:
for to
for to
if
if
end if
end if
end
end
end