Click or drag to resize
Accord.NET (logo)

GPTreeChromosome Constructor (IGPGene)

Initializes a new instance of the GPTreeChromosome class.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax
public GPTreeChromosome(
	IGPGene ancestor
)
Request Example View Source

Parameters

ancestor
Type: Accord.GeneticIGPGene
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.

See Also