Evaluate chromosome with specified fitness function.

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

Syntax

C#
public void Evaluate(
	IFitnessFunction function
)

Parameters

function
Type: AForge.Genetic..::.IFitnessFunction
Fitness function to use for evaluation of the chromosome.

Implements

IChromosome..::.Evaluate(IFitnessFunction)

Remarks

Calculates chromosome's fitness using the specifed fitness function.

See Also