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 double value, which represents function’s
input point encoded by the specified chromosome.