|
Arity
|
Specifies the Arity (maximum allowed number of children) for the instruction. If Arity is greater than 0, the instruction must be a function
|
|
Collection
|
Specifies the set of instructions that this instruction belongs to
|
|
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
|
|
Name
|
Specifies the name of the instruction
|
|
OnExecute
|
Occurs when the instruction is executed. Define an OnExecute event handler for every instruction which is a function
|
|
OnInitialize
|
Occurs when the instruction is initialized at the start of evolution. Use this event to seed the initial constant Value for the instruction.
|
|
Operation
|
Specifies the type of the instruction: function, variable or constant
|
|
Value
|
Specifies the initial constant value for this instruction (if it is a constant).
Note
|
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
|
|