Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramEngine > Classes > TRSGPNode<T> > Methods
TRSGPNode<T>.InsertChild(Integer,TRSGPNode<T>) Method
Inserts the Node as a child of the current node at the specified Index
Namespace: RSGenerics.GeneticProgramEngine
Delphi
public procedure InsertChild( const Index: Integer; const Node: TRSGPNode<T> ); virtual; abstract;
Parameters
Index
Type: Integer
Node
Type: TRSGPNode<T>
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.AddChild(TRSGPNode<T>)
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.ExtractChild(TRSGPNode<T>)
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.Child[Integer]
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.ChildCount
•TRSGPNode<T>
•RSGenerics.GeneticProgramEngine