|
Name
|
Description
|
|
Assign(TPersistent)
|
Copies properties from the Source object to the current object
Note
|
When copying a source TRSCustomGeneticProgramming<T> component or TRSCustomGeneticProgrammingExecutor<T> component, the method copies the Instructions including the event handlers. If the Source is a TRSCustomGeneticProgramming<T> component, the FittestIndividual's DNA is copied to GPProgram.
|
|
|
CreateInstructions(TCollectionItemClass)
|
Creates the Instructions collection of the correct class type. (Overrides RSGenerics.GeneticProgramming.TRSCustomGeneticProgrammingExecutor<T>.CreateInstructions(TCollectionItemClass).)
|
|
CreateNode(TRSGPInstruction<TGAFloat>,TRSGPNode<TGAFloat>)
|
Represents method CreateNode(TRSGPInstruction<TGAFloat>,TRSGPNode<TGAFloat>). (Inherited from RSGeneticProgramming.TRSCustomGeneticProgrammingExecutor.)
|
|
Execute(TContext)
|
Executes the genetic program ( GPProgram) using the specified context. The Context provides program state information (including variable values).
The function returns a value of type T
|
|
GenerateXML
|
Represents method GenerateXML. (Inherited from RSGenerics.GeneticProgramming.TRSCustomGeneticProgrammingExecutor<T>.)
|
|
InstructionNotify(TInstruction,Classes)
|
Represents method InstructionNotify(TInstruction,Classes). (Inherited from RSGenerics.GeneticProgramming.TRSCustomGeneticProgrammingExecutor<T>.)
|
|
InstructionOperationUpdate(TInstruction)
|
Represents method InstructionOperationUpdate(TInstruction). (Inherited from RSGenerics.GeneticProgramming.TRSCustomGeneticProgrammingExecutor<T>.)
|
|
InstructionUpdate(TInstruction)
|
Represents method InstructionUpdate(TInstruction). (Inherited from RSGenerics.GeneticProgramming.TRSCustomGeneticProgrammingExecutor<T>.)
|
|
LoadFromFile(string)
|
Load the genetic programming scenario from a file specified by the filename. The Instructions property will contain the read instructions, and the GPProgram property will contain the genetic program of the fittest individual.
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 a stream. The Instructions property will contain the read instructions, and the GPProgram property will contain the genetic program of the fittest individual.
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. The Instructions property will contain the read instructions, and the GPProgram property will contain the genetic program of the fittest individual.
Warning
|
The component reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.
|
Important Note
|
When reading a genetic programming scenario, the component 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. The Instructions property will contain the read instructions, and the GPProgram property will contain the genetic program of the fittest individual.
Warning
|
The component reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.
|
Important Note
|
When reading a genetic programming scenario, the component 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
|
The component reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.
|
Important Note
|
When reading a genetic programming scenario, the component 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 (Inherited from RSGenerics.GeneticProgramming.TRSCustomGeneticProgrammingExecutor<T>.)
|
|
Parse
|
Parses the GPProgramLines property and generates the genetic program ( GPProgram) tree based on its XML (Inherited from RSGenerics.GeneticProgramming.TRSCustomGeneticProgrammingExecutor<T>.)
|
|
SaveToFile(String)
|
Saves the genetic programming scenario to the file specified by the filename.
Warning
|
This component does not write the entire population of a genetic programming scenario. It only writes the fittest individual using the GPProgram property.
|
|
|
SaveToStream(TStream)
|
Saves the genetic programming scenario to the stream
Warning
|
This component does not write the entire population of a genetic programming scenario. It only writes the fittest individual using the GPProgram property.
|
|
|
SaveToXML(IXMLGeneticProgram)
|
Overloaded. Saves the genetic programming scenario to the XML
Warning
|
This component does not write the entire population of a genetic programming scenario. It only writes the fittest individual using the GPProgram property.
|
|
|
SaveToXML(IXMLGPDomainType)
|
Overloaded. Saves the genetic programming domain (instructions, fittest individual) to the XML.
Warning
|
This component does not write the entire population of a genetic programming scenario. It only writes the fittest individual using the GPProgram property.
|
|
|
SaveToXML(IXMLGPInstructions)
|
Overloaded. Saves the Instructions to the XML
Warning
|
The component writes the metadata about instructions (i.e., name, arity, comment) but does not actually write the OnExecute code.
|
|