Fitness function interface.

Namespace:  AForge.Genetic
Assembly:  AForge.Genetic (in AForge.Genetic.dll) Version: (


public interface IFitnessFunction


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.

See Also