|
Assign(TPersistent)
|
Represents method Assign(TPersistent). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.)
|
|
AssignEvents(TPersistent)
|
Copies the event handlers in the Source object to the instructions events (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.)
|
|
DoExecute(TRSGPNode<T>,TRSGPContext<T>)
|
Represents method DoExecute(TRSGPNode<T>,TRSGPContext<T>). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<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. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.)
|
|
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 (Overrides RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.LoadValueFromXML(IXMLInstructionType).)
|
|
OperationChanged
|
Represents method OperationChanged. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.)
|
|
SaveToXML(IXMLConstantInstructionType)
|
Overloaded. Saves the instruction as a constant to the XML (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.)
|
|
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 (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.)
|
|
SaveToXML(IXMLVariableInstructionType)
|
Overloaded. Saves the instruction as a variable to the XML (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.)
|
|
SaveValueToXML(IXMLInstructionType)
|
Saves the Value to the XML (Overrides RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.SaveValueToXML(IXMLInstructionType).)
|
|
ToString
|
Returns string representation of the instruction (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.)
|