Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramEngine > Classes > TRSGPNode<T> > Methods
TRSGPNode<T>.Size Method
Returns the size (how many children, grandchildren, etc) of the subtree with this node as its root. If the node has no children, the depth is 1.
Namespace: RSGenerics.GeneticProgramEngine
Delphi
public function Size: Integer;
Return Value
Type: Integer
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.Depth
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.ChildCount
•RSGenerics.GeneticProgramEngine.TRSGPNode<T>.Child[Integer]
•TRSGPNode<T>
•RSGenerics.GeneticProgramEngine