|
Algorithm 1 LCGA main pseudocode |
-
Require:
InitializePopulation(P, PS, D, LB, UB, Fitness)
-
Evaluate(P, Fitness)
-
1:
while solution not found and termination conditions not met do
-
2:
RandomStage(1, 3)
-
3:
if then
-
4:
GrowthStage
-
5:
else if then
-
6:
ReproductionStage
-
7:
else
-
8:
DeathStage
-
9:
end if
-
10:
if then
-
11:
PopulationRestart
-
12:
end if
-
13:
Evaluate(P, Fitness)
-
14:
end while
|