Fitness function interface.
Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
The IFitnessFunction type exposes the following members.
The interface should be implemented by all fitness function
classes, which are supposed to be used for calculation of chromosomes
fitness values. All fitness functions should return positive (greater
then zero) value, which indicates how good is the evaluated chromosome -
the greater the value, the better the chromosome.