Initializes a new instance of the GPTreeChromosome class.
Namespace:
AForge.GeneticAssembly: AForge.Genetic (in AForge.Genetic.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
| C# |
|---|
public GPTreeChromosome( IGPGene ancestor ) |
Parameters
- ancestor
- Type: AForge.Genetic..::.IGPGene
A gene, which is used as generator for the genetic tree.
Remarks
This constructor creates a randomly generated genetic tree, which has all genes of the same type and properties as the specified ancestor.