Review Article

Dragonfly Algorithm and Its Applications in Applied Science Survey

Visual 2

Pseudocode for BDA [9].
Initialize the dragonflies population Xi (i = 1, 2, …, n)
Initialize step vectors Xi (i = 1, 2, …, n)
while the end condition is not satisfied
 Calculate the objective values of all
 Dragonflies Update the food source and
 enemy Update , s, a, c, f, and e
 Calculate S, A, C, F, and E using equations (1)–(5)
 Update step vectors using equation (6)
 Calculate the probabilities using equation (8) Update
 position vectors using equation (9)
End while