|
Algorithm 1 AL-Biruni Earth radius (BER) algorithm |
-
1:
Initialize BER population with size d, iterations , fitness function , , BER parameters
-
2:
Calculate fitness function for each
-
3:
Find best solution as
-
4:
whiledo
-
5:
for () do
-
6:
Update ,
-
7:
Update positions to move toward best solution as in Equation (1)
-
8:
end for
-
9:
for () do
-
10:
Update ,
-
11:
Update positions Elitism of best solution as in Equation (2)
-
12:
Update positions Investigating area around best solution as in Equation (3)
-
13:
Compare and to select best solution
-
14:
if The best fitness has remained the same over the past two editions. then
-
15:
Mutate solution as in Equation (4)
-
16:
end if
-
17:
end for
-
18:
Update the fitness function for each
-
19:
Find best solution as
-
20:
Update BER parameters,
-
21:
end while
-
22:
Return
|