Research Article

Relay Positioning Strategy for Traffic Data Collection of Multiple Unmanned Aerial Vehicles Using Hybrid Optimization Systems: A FANET-Based Case Study

Algorithm 1

Bat algorithm.
Initialize the bat population and the velocities of the bats .
Define pulse frequency at .
Initialize pulse rates and the loudness
While not reach the number of maximum iterations:
Generate more solutions by adjusting frequency and updating velocities and locations/solutions:
if (rand > )
Select a solution among the best solutions
Generate a local solutions around the selected best solution
End if
Generate a new solution by flying randomly
is the use of the neural network, GRNN, to generate de traffics to evaluate .
If (rand < ā€‰ā€‰& () < )
Accept the new solutions
Increase and reduce
End if
Rank the bats and find the current best
End while