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 string 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 string value, which represents approximation
expression written in polish postfix notation.