AForge.Genetic.GPCustomTree.GPCustomTree C# (CSharp) Méthode

GPCustomTree() protected méthode

Initializes a new instance of the GPTreeChromosome class.

This constructor creates new genetic tree as a copy of the specified source tree.

protected GPCustomTree ( GPCustomTree source ) : System
source GPCustomTree Source genetic tree to clone from.
Résultat System
        protected GPCustomTree(GPCustomTree source)
        {
            root = (GPCustomTreeNode)source.root.Clone();
            fitness = source.fitness;
        }

Same methods

GPCustomTree::GPCustomTree ( NoteGene ancestor ) : System