Documentation Center    • Trial Software   • Product Updates
Genetic Algorithm Terminology  Fitness Functions  The fitness
function is the function you want to optimize. For standard
optimization algorithms, this is known as the objective
function. The toolbox software tries to find the minimum of the
fitness function.  Write the fitness function as a file or
anonymous function, and pass it as a function handle input
argument to the main genetic algorithm function.   An individual
is any point to which you can apply the fitness function. The
value of the fitness function for an individual is its score.
For example, if the fitness function is  the vector (2, -3, 1),
whose length is the number of variables in the problem, is an
individual. The score of the individual (2, –3, 1) is f(2, –3,
1) = 51.  An individual is sometimes referred to as a genome and
the vector entries of an individual as genes.  Populations and
Generations  A population is an array of individuals. For
example, if the size of the population