Hide Comments
Hide Comments

Comments (0)

expandingProperties

 

Name

Description

published property

Arity

Specifies the Arity (maximum allowed number of children) for the instruction. If Arity is greater than 0, the instruction must be a function

public property

Collection

Specifies the set of instructions that this instruction belongs to

published property

Comment

Specifies a comment about the instruction. This property is not used by the genetic programming engine (except for reading and writing the comment).

Use this property for describing the instruction and what it does or means

published property

Name

Specifies the name of the instruction

public property

OnExecute

Occurs when the instruction is executed. Define an OnExecute event handler for every instruction which is a function

published property

OnInitialize

Occurs when the instruction is initialized at the start of evolution. Use this event to seed the initial constant   Value for the instruction.

published property

Operation

Specifies the type of the instruction: function, variable or constant

public property

Value

Specifies the initial constant value for this instruction (if it is a constant).

noteNote

Initially, any TRSGPNode<T> created from this instruction will contain the Value constant. However, because of mutation, the node's Value can change. The Instruction Value should never change except at initialization

Top

Comments (0)