Click or drag to resize
Accord.NET (logo)

OptimizationFunction1DTranslate Method

Translates genotype to phenotype.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.7.0
Syntax
public double Translate(
	IChromosome chromosome
)
Request Example View Source

Parameters

chromosome
Type: Accord.GeneticIChromosome
Chromosome, which genoteype should be translated to phenotype.

Return Value

Type: Double
Returns chromosome's fenotype - the actual solution encoded by the chromosome.
Remarks
The method returns double value, which represents function's input point encoded by the specified chromosome.
See Also