Executes the node using the specified context. The node provides information about the constant value (if the instruction is a constant) and the subtree program of the node. The Context provides program state information (including variable values).
The function returns a value of type T (which is the result of the OnExecute event, the Node.Value if it is a constant, or the variable value from the Context if is a variable)
Namespace: RSGenerics.GeneticProgramEngine
Delphi |
public |
Parameters
Node
Type: TRSGPNode<T>
Context
Type: TRSGPContext<T>
Type: T
Reference |