Hide Comments
Hide Comments

Comments (0)

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

expandingSyntax

Delphi

public
  function Execute( const Node: TRSGPNode<T>; const Context: TRSGPContext<T> ): T; virtual;
 

Parameters

Node

Type: TRSGPNode<T>

Context

Type: TRSGPContext<T>

Return Value

Type: T

expandingSee Also

Comments (0)