Академический Документы
Профессиональный Документы
Культура Документы
GA Quick Overview
Attributed features:
discrete optimization
not too fast
good heuristic for combinatorial problems
Special Features:
Genetic algorithms
Representations
Mutations
Crossovers
Selection mechanisms
Binary strings
Recombination
N-point or uniform
Mutation
Parent selection
Survivor selection
Speciality
Emphasis on crossover
Representation
Phenotype space
Genotype space =
{0,1}L
Encoding
(representation)
10010001
10010010
010001001
011101001
Decoding
(inverse representation)
A
3/6 = 50%
fitness(A) = 3
fitness(B) = 1
2/6 = 33%
fitness(C) = 2
x2 example: selection
X2 example: crossover
X2 example: mutation
The simple GA
n-point crossover
Uniform crossover
Crossover OR mutation?
Other representations
Integers
Integer representations
y x L1
( a1 ,..., aL ) x L
( a L j 2 j ) [ x, y ]
2 1 j 0
xi , xi LBi , UBi
Uniform mutation:
xi drawn randomly (uniform) from LBi ,UBi
Non-uniform mutations:
Discrete:
Intermediate
zi = xi + (1 - ) yi
where : 0 1.
x1 , ..., xk , yk (1 ) xk , ..., xn
x , ..., x , y
(1 ) x
, ..., y (1 ) x
1
k
k 1
k 1
n
n
a x (1 a) y