Click or drag to resize
Accord.NET (logo)

IFitnessFunction Interface

Fitness function interface.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax
public interface IFitnessFunction
Request Example View Source

The IFitnessFunction type exposes the following members.

Methods
  NameDescription
Public methodEvaluate
Evaluates chromosome.
Top
Remarks
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