Hide Comments
Hide Comments

TRSCustomGeneticProgramming<T>.DoInitializeGrow(TNode,Integer,Integer) Method

Comments (0)

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

expandingSyntax

Delphi

protected
  function DoInitializeGrow( const Node: TNode; ChildIndex: Integer; Depth: Integer ): TNode;
 

Parameters

Node

Type: System.Void

ChildIndex

Type: Integer

Depth

Type: Integer

Return Value

Type: TNode

expandingSee Also

Comments (0)