Initializes a genetic program tree by growing to the depth indicated.
The Grow method creates trees of a wider variety of shapes and sizes than the full method. In the Grow method, nodes for the trees are selected from the full set of primitives (functions, constants, and variables) until the initialization depth is reached. Since an early node could select a terminal (constant, variable, or function of arity = 0), that node's subtree stops growing before the initialization depth.
Namespace: RSGenerics.GeneticProgramming
Delphi |
protected |
Parameters
Node
Type: System.Void
ChildIndex
Type: Integer
Depth
Type: Integer
Type: TNode