
9.3 The Architecture of a Genetic Algorithm
■
385
Get chromosome
Chromosome
population
Run
system
Produce solution
Apply fitness
Repeat
5
4
3
2
1
6
Evaluate potential solution
Figure 9.23 Evaluating a chromosome.
cases, the chromosome’s values are passed to a larger system. For
example, consider a genetic algorithm that performs trend fitting.
The chromosome might contain the coefficients and powers of the
equation terms. These values are passed to a regression engine that
forms the equation, reads a file of data points, and computes the
standard error from the differences between actuals and estimates.
The regression engine is the “system” connected to the genetic
algorithm. ...