Genetic Algorithms
Genetic Algorithms
3170716
Unit-11: Genetic
Algorithms
Evaluate solution
Is solution N
I=I+1 optimum ? Or Selection
I = N?
Population Y Crossover
Replacement
STOP
Chromosome Fitness
A 80
B 70 B 70 ?
C 90
D 60
E -30
F 40 F 40 ?
G 50
0 1 0 0 1 0 1 1 1 0
1 5 4 3 2 1 6 7 3 5 1 5 4 3 2 1 8 2 1 6
2 7 1 4 5 5 8 2 1 6 2 7 1 4 5 5 6 7 3 5
1 5 4 3 2 1 6 7 3 5 1 5 4 4 5 5 8 7 3 5
2 7 1 4 5 5 8 2 1 6 2 7 1 3 2 1 6 2 1 6
1 5 4 3 2 1 6 7 3 5 1 5 1 3 5 1 6 2 1 5
2 7 1 4 5 5 8 2 1 6 2 7 4 4 2 5 8 7 3 6
Uniform Crossover
1 0 0 1 0 1 0 1 0 1 1 0 0 0 0 1 0 1 0 1
Bit Flip
1 5 4 3 2 1 6 7 3 5 1 5 4 6 2 1 6 4 3 5
Random Reset
Dr. Gopi Sanghani #3170716 (AI) Unit 11 Genetic Algorithms 13
GA Operators and Parameters
Replacement
The offspring population created by selection, recombination, and mutation replaces the original parental
population.
Many replacement techniques such as elitist replacement, generation-wise replacement and steady-state
replacement methods are used in GAs.