Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramEngine > Classes > TRSGPTreeNode<T> > Methods
TRSGPTreeNode<T>.Clear Method
Empties the node of all information (i.e., Instruction equals nil, Value equals default, and children are deleted and freed)
Namespace: RSGenerics.GeneticProgramEngine
Delphi
public procedure Clear; override;
Overrides
TRSGPNode<T>.Clear
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.Instruction
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.Value
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.ChildCount
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.Child[Integer]
•TRSGPTreeNode<T>
•RSGenerics.GeneticProgramEngine