Translates genotype to phenotype
Namespace:
AForge.GeneticAssembly: AForge.Genetic (in AForge.Genetic.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
| C# |
|---|
public double[] Translate( IChromosome chromosome ) |
Parameters
- chromosome
- Type: AForge.Genetic..::.IChromosome
Chromosome, which genoteype should be translated to phenotype
Return Value
Returns 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.