Hide Comments
Hide Comments

Comments (0)

expandingMethods

 

Name

Description

public method

Assign(TPersistent)

Represents method Assign(TPersistent).

public method

AssignEvents(TPersistent)

Copies the event handlers in the Source object to the instructions events

protected method

DoExecute(TRSGPNode<T>,TRSGPContext<T>)

Represents method DoExecute(TRSGPNode<T>,TRSGPContext<T>).

public method

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)

protected method

GetDisplayName

Represents method GetDisplayName.

public method

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.

public method

LoadFromXML(IXMLInstructionType)

Loads the instruction from the XML

alert_cautionWarning

If the instruction is a function, the OnExecute event is not loaded or changed

public method

LoadValueFromXML(IXMLInstructionType)

Loads the   Value from the XML

protected method

OperationChanged

Represents method OperationChanged.

public method

SaveToXML(IXMLConstantInstructionType)

Overloaded. Saves the instruction as a constant to the XML

public method

SaveToXML(IXMLFunctionInstructionType)

Overloaded. Saves the instruction as a function to the XML

alert_cautionWarning

If the instruction is a function, the OnExecute event is not saved

public method

SaveToXML(IXMLGPInstructions)

Overloaded. Saves the Instruction to the XML as a function, variable or constant based on its   Operation

public method

SaveToXML(IXMLVariableInstructionType)

Overloaded. Saves the instruction as a variable to the XML

public method

SaveValueToXML(IXMLInstructionType)

Saves the   Value to the XML

public method

ToString

Returns string representation of the instruction

Top

Comments (0)