|
OptimizationFunction2DTranslate Method
|
Translates genotype to phenotype
Namespace:
Accord.Genetic
Assembly:
Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntaxpublic 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
RemarksThe method returns array of two double values, which
represent function's input point (X and Y) encoded by the specified
chromosome.
See Also