Schema Theory: Suggested Reading: D. E. Goldberg, Genetic Algorithm in
Schema Theory: Suggested Reading: D. E. Goldberg, Genetic Algorithm in
Schema Theory: Suggested Reading: D. E. Goldberg, Genetic Algorithm in
Schema Theory
Suggested reading: D. E. Goldberg, Genetic Algorithm in
Search, Optimization, and Machine
Learning, Addison Wesley Publishing
Company, January 1989
Schema Theorem
Schema
A schema is a set of binary strings that match
the template for schema H
A template is made up of 1s, 0s, and *s where
* is the dont care symbol that matches either
0 or 1
Schema Examples
Schema: Count
Schema: Fitness
f ( x)
xH
m( H , k )
8
Effect of GA On A Schema
Effect of Selection
Effect of Crossover
Effect of Mutation
= Schema Theorem
f ( x)
N
f (x )
i =1
xH f ( x )
M (H , k ) =
= m( H , k )
f
12
S1 = 1 1 0 1 1 H Schema H
P2 = 1 0 1 1 1 H
S2 = 1 0 1 1 0 H
P1 = 1 1 0 1 0 H
S1 = 1 1 1 1 1 H Schema H
P2 = 1 0 1 1 1 H
S2 = 1 0 0 1 0 H
survived
destroyed
13
Crossover Operation
14
H = *1**0
We
gave
l=5
(H) = 5 2 = 3
Thus, the probability that the crossover
occurs within the defining length is 3/4
15
Crossover Operation
(H )
l 1
16
S c ( H ) = 1 Dc ( H ) 1 pc
(H )
l 1
Mutation Operation
(1 pm )
where pm is the mutation probability of a gene
18
S m ( H ) = (1 pm ) o ( H )
Schemas with low order are more
likely to survive
19
Schema Theorem
Exp. # of Schema H in Next Generation >
f (H , k )
Exp. # in Mating Pool ( M ( H , k ) = m( H , k )
)
f
(H )
l 1
20
Schema Theorem
Mathematically
f (H , k )
(H )
o( H )
E[ m ( H , k + 1)] m ( H , k )
1
p
(
1
p
)
c
m
f
l 1