|
Algorithm 3 Penguin Foraging Strategy (PeSOA) |
-
1:
Randomly initialize a population P divided into several groups
-
2:
Assign an oxygen reserve to each penguin
-
3:
Set global best solution G
-
4:
for each with do
-
5:
-
6:
Evaluate and update
-
7:
if then
-
8:
-
9:
else if then
-
10:
-
11:
end if
-
12:
end for
-
13:
if oxygen depleted or maximum iterations reached then
-
14:
Stop
-
15:
end if
|