|
AddChild(TRSGPNode<T>)
|
Represents method AddChild(TRSGPNode<T>). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPTreeNode<T>.)
|
|
Assign(TPersistent)
|
Makes a deep copy (i.e., all children, grandchildren, etc) of the Source to the node (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
CalcDepth
|
Calculate the depth of the tree with this node as the parent (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
CalcSize
|
Calculate the size of the tree with this node as the parent (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
Clear
|
Empties the node of all information (i.e., Instruction equals nil, Value equals default, and children are deleted and freed) (Overrides RSGenerics.GeneticProgramEngine.TRSGPNode<T>.Clear.)
|
|
Clone(TRSGPNode<T>)
|
Creates a copy of the current node and all of its children. This is a deep copy of the entire subtree. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
CreateNode(TRSGPInstruction<TGAFloat>,TRSGPNode<TGAFloat>)
|
Represents method CreateNode(TRSGPInstruction<TGAFloat>,TRSGPNode<TGAFloat>). (Overrides RSGenerics.GeneticProgramEngine.TRSGPTreeNode<T>.CreateNode(TRSGPInstruction<T>,TRSGPNode<T>).)
|
|
Depth
|
Returns the depth (maximum number of levels of children) of the subtree with this node as its root. If the node has no children, the depth is 1. If the node has children, its depth is 2. If at least one of its children has children, the depth is 3, etc. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
Execute(TRSGPContext<T>)
|
Executes the current node using the specified Context.
Note that it is up to the Instruction to do the actual execution in its OnExecute event. The instruction is also where the decision to execute children event or not is made.
|
|
ExtractChild(TRSGPNode<T>)
|
Represents method ExtractChild(TRSGPNode<T>). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPTreeNode<T>.)
|
|
GetChild(Integer)
|
Represents method GetChild(Integer). (Overrides RSGenerics.GeneticProgramEngine.TRSGPNode<T>.GetChild(Integer).)
|
|
GetChildCount
|
Represents method GetChildCount. (Overrides RSGenerics.GeneticProgramEngine.TRSGPNode<T>.GetChildCount.)
|
|
IndexOf(TRSGPNode<T>)
|
Searchs for the Node as a child of the current node. If the node is found, this method returns the index to access the child. Otherwise, it returns -1. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
InsertChild(Integer,TRSGPNode<T>)
|
Represents method InsertChild(Integer,TRSGPNode<T>). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPTreeNode<T>.)
|
|
IsTerminal
|
Returns true if the node is a terminal (constant, variable, or function with arity of 0) (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
LoadFromXML(IXMLDnaType)
|
Loads the node and its children from the XML (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
LoadValueFromXML(IXMLDnaType)
|
Loads the Value from the XML (Overrides RSGenerics.GeneticProgramEngine.TRSGPNode<T>.LoadValueFromXML(IXMLDnaType).)
|
|
Modified
|
Represents method Modified. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
SaveToXML(IXMLDnaType)
|
Saves the node and its children to the XML (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
SaveValueToXML(IXMLDnaType)
|
Saves the Value to the XML (Overrides RSGenerics.GeneticProgramEngine.TRSGPNode<T>.SaveValueToXML(IXMLDnaType).)
|
|
SetValue(T)
|
Represents method SetValue(T). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
Size
|
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. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
ToString
|
Returns a prefix notation version of the node and its children (Inherited from RSGenerics.GeneticProgramEngine.TRSGPNode<T>.)
|
|
ValueToString
|
Returns a string representation of the Value. (Overrides RSGenerics.GeneticProgramEngine.TRSGPNode<T>.ValueToString.)
|