|
Assign(TPersistent)
|
Represents method Assign(TPersistent).
|
|
AssignEvents(TPersistent)
|
Copies the event handlers in the Source object to the instructions events
|
|
DoExecute(TRSGPNode<T>,TRSGPContext<T>)
|
Represents method DoExecute(TRSGPNode<T>,TRSGPContext<T>).
|
|
Execute(TRSGPNode<T>,TRSGPContext<T>)
|
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)
|
|
GetDisplayName
|
Represents method GetDisplayName.
|
|
Initialize
|
Initializes the instruction at the start of the genetic evolution (not the start of executing a genetic program). The function calls the OnInitialize event.
The intent of the Initialize method is to initialize the instruction for evolution; usually, this means provide an initial constant Value.
|
|
LoadFromXML(IXMLInstructionType)
|
Loads the instruction from the XML
Warning
|
If the instruction is a function, the OnExecute event is not loaded or changed
|
|
|
LoadValueFromXML(IXMLInstructionType)
|
Loads the Value from the XML
|
|
OperationChanged
|
Represents method OperationChanged.
|
|
SaveToXML(IXMLConstantInstructionType)
|
Overloaded. Saves the instruction as a constant to the XML
|
|
SaveToXML(IXMLFunctionInstructionType)
|
Overloaded. Saves the instruction as a function to the XML
Warning
|
If the instruction is a function, the OnExecute event is not saved
|
|
|
SaveToXML(IXMLGPInstructions)
|
Overloaded. Saves the Instruction to the XML as a function, variable or constant based on its Operation
|
|
SaveToXML(IXMLVariableInstructionType)
|
Overloaded. Saves the instruction as a variable to the XML
|
|
SaveValueToXML(IXMLInstructionType)
|
Saves the Value to the XML
|
|
ToString
|
Returns string representation of the instruction
|