|
Algorithm 1 strategy for multi-objective optimization. |
Require: {Number of generations} Require:
{Number of individuals in the population}
-
1:
Initialize P with N individuals
-
2:
Evaluate all individuals of P
-
3:
-
4:
whiledo
-
5:
-
6:
-
7:
while
do
-
8:
Parent1← Binary tournament selection from P
-
9:
Parent2← Binary tournament selection from P
-
10:
Child1, Child2←Crossover(Parent1, Parent2)
-
11:
Offspring1←Mutation(Child1)
-
12:
Offspring2←Mutation(Child2)
-
13:
Evaluate Offspring1
-
14:
Evaluate Offspring2
-
15:
-
16:
-
17:
end while
-
18:
-
19:
N best individuals from R according to the rank-crowding function in population R
-
20:
-
21:
end while
-
22:
return Non-dominated individuals from P
|