Genetic Algorithms
Genetic algorithms are a special breed of algorithm. They
seek to solve Hard Problems by facilitating evolution! To many
this sounds crazy, but it works and yields some pretty
amazing results.
Step 1. Population 0
The first step is to generate a population of randomly
generated solutions to a problem. Obviously randomly
generated solutions to a problem will be pretty bad on
average, but we have to start somewhere.
Step 2. Fitness Determination
The second step is to calculate a fitness value for each
solution (or chromosome). A fitness value is calculated by a
fitness function that judges the strength of a particular
chromosome.
Step 3. Parent Selection
The third step is to select parents in anticipation of
step four reproduction. Several techniques exist for parent
selection, but in general, stronger chromosomes are selected
as parents more often than weaker parents. The result of
this step is a set of parent chromosomes. Selecting more-fit
parents is referred to as selection bias. |