|
Algorithm 1 Sunn Pest Optimization (SPO) |
Require: , D, , , N, T, all parameters Ensure: ,
-
1:
, ▹ Initial population
-
2:
-
3:
,
-
4:
▹ Equation (8),
-
5:
▹ Equation (9)
-
6:
,
-
7:
for to do
-
8:
▹ Equation (2)
-
9:
if then
-
10:
LevyMigration(X, , ) ▹ Equations (3)–(5)
-
11:
else
-
12:
DifferentialMigration(X, , ) ▹ Equation (6)
-
13:
end if
-
14:
; update ,
-
15:
▹ Equation (8)
-
16:
▹ Equation (7)
-
17:
if then
-
18:
▹ diversity-override
-
19:
end if
-
20:
if then
-
21:
Carabid() ▹ Equations (10) and (11)
-
22:
end if
-
23:
if then
-
24:
Beauveria() ▹ Equations (12)–(14)
-
25:
end if
-
26:
if then
-
27:
Parasitoid(); ▹ Equations (15)–(17)
-
28:
end if
-
29:
Elitism: worst best ▹ Equation (18)
-
30:
-
31:
end for
-
32:
return ,
|