Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramEngine > Classes > TRSGPNode<T> > Methods
TRSGPNode<T>.Clone(TRSGPNode<T>) Method
Creates a copy of the current node and all of its children. This is a deep copy of the entire subtree.
Namespace: RSGenerics.GeneticProgramEngine
Delphi
public function Clone(const aParent: TRSGPNode<T>): TRSGPNode<T>;
Parameters
aParent
Type: TRSGPNode<T>
•TRSGPNode<T>
•RSGenerics.GeneticProgramEngine