Evaluates chromosome.

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

Syntax

C#
public double Evaluate(
	IChromosome chromosome
)

Parameters

chromosome
Type: AForge.Genetic..::.IChromosome
Chromosome to evaluate.

Return Value

Returns chromosome's fitness value.

Implements

IFitnessFunction..::.Evaluate(IChromosome)

Remarks

The method calculates fitness value of the specified chromosome.

See Also