Skip to main content
. 2020 Jun 1;20(11):3134. doi: 10.3390/s20113134
Algorithm 1. BOLD ALGORITHM
Let drone d initially be the leader with fitness valuegbest.
foreach dronedo
Initialize each drone with its position and benergy;
end
Divide dronei….k into smaller groups;
for each group do
fordronekdo
Calculate the distance of dronek from other drones;
Update dronek position;
Calculate Bopt value;
ifBoptgbest then
gbest = Bopt;
end
Elect dronek as leader;
end
end
foreach dronedo
Calculate drone velocity;
Update drone position;
Update drone benergy using Equation (17);
end