Fitness function to apply to the population.

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

Syntax

C#
public IFitnessFunction FitnessFunction { get; set; }

Remarks

The property sets fitness function, which is used to evaluate usefulness of population's chromosomes. Setting new fitness function causes recalculation of fitness values for all population's members and new best member will be found.

See Also