|
Name
|
Description
|
|
CreateInstructions(TCollectionItemClass)
|
Creates the Instructions collection of the correct class type.
|
|
CreateNode(TRSGPInstruction<T>,TRSGPNode<T>)
|
Creates the genetic program tree node of the specified type and initializes its Instruction and Parent properties.
|
|
GetInstructions
|
Returns the Instructions collection
|
|
InstructionNotify(TRSGPInstruction<T>,Classes)
|
Handles engine changes when an instruction is added or removed
|
|
InstructionOperationUpdate(TRSGPInstruction<T>)
|
Handles engine changes when an instruction's Operation is changed
|
|
InstructionUpdate(TRSGPInstruction<T>)
|
Handles engine changes when an instruction updates
|
|
LoadFromFile(string)
|
Load the genetic programming scenario from a file specified by the filename
Warning
|
A genetic programming reader/writer reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code themselves. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.
|
Important Note
|
When reading a genetic programming scenario, the reader will attempt to match currently existing instructions to instruction names in the scenario. IF an instruction is found, the instruction will be preserved (including its OnExecute event).
After reading the scenario, any previous instructions not found in the scenario will be deleted.
|
|
|
LoadFromStream(TStream)
|
Load the genetic programming scenario from the stream
Warning
|
A genetic programming reader/writer reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code themselves. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.
|
Important Note
|
When reading a genetic programming scenario, the reader will attempt to match currently existing instructions to instruction names in the scenario. IF an instruction is found, the instruction will be preserved (including its OnExecute event).
After reading the scenario, any previous instructions not found in the scenario will be deleted.
|
|
|
LoadFromXML(IXMLGeneticProgram)
|
Overloaded. Load the entire genetic programming scenario from the XML
Warning
|
A genetic programming reader/writer reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code themselves. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.
|
Important Note
|
When reading a genetic programming scenario, the reader will attempt to match currently existing instructions to instruction names in the scenario. IF an instruction is found, the instruction will be preserved (including its OnExecute event).
After reading the scenario, any previous instructions not found in the scenario will be deleted.
|
|
|
LoadFromXML(IXMLGPDomainType)
|
Overloaded. Load the genetic programming domain (instructions, fittest individual, population) from the XML
Warning
|
A genetic programming reader/writer reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code themselves. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.
|
Important Note
|
When reading a genetic programming scenario, the reader will attempt to match currently existing instructions to instruction names in the scenario. IF an instruction is found, the instruction will be preserved (including its OnExecute event).
After reading the scenario, any previous instructions not found in the scenario will be deleted.
|
|
|
LoadFromXML(IXMLGPInstructions)
|
Overloaded. Load the genetic programming instructions from the XML
Warning
|
A genetic programming reader/writer reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code themselves. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.
|
Important Note
|
When reading a genetic programming scenario, the reader will attempt to match currently existing instructions to instruction names in the scenario. IF an instruction is found, the instruction will be preserved (including its OnExecute event).
After reading the scenario, any previous instructions not found in the scenario will be deleted.
|
|
|
MaxNodeArity
|
Returns the maximum node arity (number of children) allowed in the engine
|
|
SaveToFile(string)
|
Saves the genetic programming scenario to a file specified by the filename
Warning
|
A genetic programming writer writes the metadata about instructions (i.e., name, arity, comment) but does not actually write the OnExecute code themselves.
|
|
|
SaveToStream(TStream)
|
Saves the genetic programming scenario to a stream
Warning
|
A genetic programming writer writes the metadata about instructions (i.e., name, arity, comment) but does not actually write the OnExecute code themselves.
|
|
|
SaveToXML(IXMLGeneticProgram)
|
Overloaded. Saves the genetic programming scenario to XML
Warning
|
A genetic programming writer writes the metadata about instructions (i.e., name, arity, comment) but does not actually write the OnExecute code themselves.
|
Warning
|
What parts of the genetic programming scenario that are written is up to the class implementation. For example, the TRSCustomGeneticProgrammingExecutor<T> does not save the population but only the fittest individual.
|
|
|
SaveToXML(IXMLGPDomainType)
|
Overloaded. Saves the genetic programming domain (instructions, fittest individual, population) to XML
Warning
|
A genetic programming writer writes the metadata about instructions (i.e., name, arity, comment) but does not actually write the OnExecute code themselves.
|
Warning
|
What parts of the genetic programming scenario that are written is up to the class implementation. For example, the TRSCustomGeneticProgrammingExecutor<T> does not save the population but only the fittest individual.
|
|
|
SaveToXML(IXMLGPInstructions)
|
Overloaded. Saves the genetic programming instructions to XML
Warning
|
A genetic programming writer writes the metadata about instructions (i.e., name, arity, comment) but does not actually write the OnExecute code themselves.
|
|
|
SetInstructions(TRSGPInstructions<T>)
|
Sets the Instructions property to the new instructions value
|