Click or drag to resize
Accord.NET (logo)

PopulationFitnessFunction Property

Fitness function to apply to the population.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax
public IFitnessFunction FitnessFunction { get; set; }
Request Example View Source

Property Value

Type: IFitnessFunction
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