GA Alg
GA Alg
Different GA Strategies
1) Simple Genetic Algorithm (SGA)
2) Steady State Genetic Algorithm (SSGA)
3) Messy Genetic Algorithm (MGA)
Simple GA
Important parameters involved in Simple
GA
• SGA Parameters
• Initial population size : N
• Size of mating pool
• Convergence threshold
• Mutation
• Inversion
• Crossover
Salient features in SGA
Simple GA features:
• Have overlapping generation (Only fraction of
individuals are replaced).
• Computationally expensive.
• Good when initial population size is large.
• In general, gives better results. Selection is biased
toward more highly fit individuals; Hence, the
average fitness (of overall population) is expected
to increase in success in succession.
• The best individual may appear in any iteration
Steady State Genetic Algorithm (SSGA)
Salient features in Steady-state GA
SSGA Features:
• Generation gap is small.
• Only two offspring are produced in one
generation.
• It is applicable when
Population size is small
Chromosomes are of longer length
Evaluation operation is less computationally
expensive (compare to duplicate checking)
Salient features in Steady-state GA
Limitations in SSGA:
• There is a chance of stuck at local optima, if
crossover/mutation/inversion is not strong
enough to diversify the population).
• Premature convergence may result.
• It is susceptible to stagnation. Inferiors are
neglected or removed and keeps making more
trials for very long period of time without any
gain (i.e. long period of localized search).
GA Operators
• Following are the GA operators in Genetic
Algorithms.
1) Encoding
2) Convergence test
3) Mating pool
4) Fitness Evaluation
5) Crossover
6) Mutation
7) Inversion
Different Encoding Schemes
• Different GA’s
Simple Genetic Algorithm (SGA)
Steady State Genetic Algorithm (SSGA)
Messy Genetic Algorithm (MGA)
• Encoding Schemes
Binary encoding
Real value encoding
Order encoding
Tree encoding
Different Encoding Schemes
• Often, GAs are specified according to the encoding
scheme it follows.
For example:
• Encoding Scheme
• Binary encoding – >Binary Coded GA or simply Binary GA
• Real value encoding – > Real Coded GA or simply Real GA
• Order encoding – > Order GA (also called as Permuted
GA)
• Tree encoding
Encoding Schemes in GA
• Genetic Algorithm uses metaphor consisting
of two distinct elements :
1) Individual
2) Population
An individual is a single solution while a
population is a set of individuals at an instant of
searching process.
Individual Representation :Phenotype and
Genotype