Fitness function for our example. It's without sense, it's just to
demonstrate how to evaluate a chromosome with 40 4-field-genes and one
3-field gene. Each toplevel-gene is a CompositeGene, each "field" within
a CompositeGene is a BooleanGene here (arbitrarily chosen).
author: Klaus Meffert since: 3.0
Method Summary
public double
evaluate(IChromosome a_subject) Calculate the fitness value of a Chromosome.
Calculate the fitness value of a Chromosome.
Parameters: a_subject - the Chromosome to be evaluated defect rate of our problem (the smaller the better) author: Klaus Meffert since: 3.0