|
Algorithm 6 Death |
-
1:
procedure DeathStage(P)
-
2:
GetPopulationSample(P, sample_size)
-
3:
for all individuals in sample do
-
4:
if then
-
5:
if then
-
6:
-
7:
AddToPopulation(P, individual)
-
8:
else
-
9:
-
10:
if SurvivalThreshold() then
-
11:
AddToPopulation(P, individual)
-
12:
end if
-
13:
end if
-
14:
end if
-
15:
end for
-
16:
end procedure
|