
Dynamic virtual bats algorithm 123
10.2.1 Pseudo-code of DVBA
The pseudo-code of DVBA is represented in Algorithm 9. Step by step the
algorithm is explained in the next section.
Algorithm 9 Description of DVBA with pseudo-code.
1: Objective function f(x), x = (x
1
, ..., x
d
)
T
2: Initialize the bat population x
i
and v
i
, (i = 1, 2)
3: Initialize wavelength λ
i
and frequency freq
i
4: Find the increment rate ρ
5: Define the increment divisor β, the scope width variable b
6: Initialize the number of the waves(j) and search points(k)
7: Find f
gbest
based on the bats’ starting position.
8: while (t < Max number of FEs) do
9: for each bat do
10: Create a sound waves scop ...