This constructor creates a randomly generated genetic tree, which has all genes of the same type and properties as the specified ancestor.
public GPCustomTree(NoteGene ancestor) { // make the ancestor gene to be as temporary root of the tree root.Gene = ancestor.Clone(); // call tree regeneration function Generate(); }