Click or drag to resize
Accord.NET (logo)

IFitnessFunctionEvaluate Method

Evaluates chromosome.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax
double Evaluate(
	IChromosome chromosome
)
Request Example View Source

Parameters

chromosome
Type: Accord.GeneticIChromosome
Chromosome to evaluate.

Return Value

Type: Double
Returns chromosome's fitness value.
Remarks
The method calculates fitness value of the specified chromosome.
See Also