Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramming > Classes > TRSGPIndividual<T> > Methods
TRSGPIndividual<T>.Graft(TNode,TNode) Method
Replaces old node with the new node. The old node and its children are NOT deleted or freed
Namespace: RSGenerics.GeneticProgramming
Delphi
public procedure Graft( const OldNode: TNode; const NewNode: TNode ); virtual;
Parameters
OldNode
Type: System.Void
NewNode
•RSGenerics.GeneticProgramming.TRSGPIndividual<T>.DNA
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>
•TRSGPIndividual<T>
•RSGenerics.GeneticProgramming