|
OptimizationFunction2DTranslate Method
|
Translates genotype to phenotype
Namespace:
Accord.Genetic
Assembly:
Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax public double[] Translate(
IChromosome chromosome
)
Public Function Translate (
chromosome As IChromosome
) As Double()
Request Example
View SourceParameters
- chromosome
- Type: Accord.GeneticIChromosome
Chromosome, which genoteype should be
translated to phenotype
Return Value
Type:
DoubleReturns chromosome's fenotype - the actual solution
encoded by the chromosome
Remarks The method returns array of two double values, which
represent function's input point (X and Y) encoded by the specified
chromosome.
See Also