Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramEngine > Classes > TRSGPInstruction<T> > Methods

TRSGPInstruction<T>.Execute(TRSGPNode<T>,TRSGPContext<T>) Method

Scroll Prev Top Next More

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

Parameters

Node

Type: TRSGPNode<T>

Context

Type: TRSGPContext<T>

Return Value

Type: T

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb