Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramming > Classes > TRSCustomGeneticProgramming<T> > Methods

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

Scroll Prev Top Next More

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

Parameters

Node

Type: System.Void

ChildIndex

Type: Integer

Depth

Type: Integer

Return Value

Type: TNode

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb