|
Algorithm 1 Pseudo-code for GA. |
-
1:
Determine Objective Function .
-
2:
Assign the number of generations to 0 ().
-
3:
Randomly create individuals in initial population .
-
4:
Evaluate individuals in population using .
-
5:
while Termination criterion is not satisfied do
-
6:
-
7:
Select the individuals to population from .
-
8:
Change individuals of using crossover and mutation.
-
9:
Evaluate individuals in population using .
-
10:
end while
-
11:
Return the best individual found during the evolution.
|