AForge.Genetic.GPCustomTree.GPCustomTree C# (CSharp) Метод

GPCustomTree() защищенный Метод

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.
Результат System
        protected GPCustomTree(GPCustomTree source)
        {
            root = (GPCustomTreeNode)source.root.Clone();
            fitness = source.fitness;
        }

Same methods

GPCustomTree::GPCustomTree ( NoteGene ancestor ) : System