|
Assign(TPersistent)
|
Overloaded. Represents method Assign(TPersistent). (Overrides RSGeneticBase.TRSIndividual.Assign(TPersistent).)
|
|
AssignDNA(TNode)
|
Replaces the current DNA tree with the aDNA parameter. The old DNA tree is deleted and freed.
|
|
CreateDNA
|
Represents method CreateDNA.
|
|
Crossover(TNode,TRSGPIndividual<T>,TNode)
|
Represents method Crossover(TNode,TRSGPIndividual<T>,TNode).
|
|
DoSelectNode(TNodeList,TGAFloat)
|
Overloaded. Represents method DoSelectNode(TNodeList,TGAFloat).
|
|
Execute(TRSGPContext<T>)
|
Executes the individual's genetic program ( DNA) using the specified context. The Context provides program state information (including variable values).
The function returns a value of type T
|
|
FlattenDNA
|
Flattens the DNA tree into a list of nodes. Used by the genetic programming component for various uses, such as selecting a node
You should not have to call the FlattenDNA method yourself.
|
|
Graft(TNode,TNode)
|
Replaces old node with the new node. The old node and its children are NOT deleted or freed
|
|
LoadFromXML(IXMLIndividualType)
|
Overloaded. Reads the individual from the XML node, including DNA
|
|
LoadFromXML(IXMLNode)
|
Overloaded. Reads the individual's data from the XML node (Overrides RSGeneticBase.TRSIndividual.LoadFromXML(IXMLNode).)
|
|
SaveToXML(IXMLIndividualType)
|
Overloaded. Saves the individual to the XML node, including DNA
|
|
SaveToXML(IXMLNode)
|
Overloaded. Writes the individual's data to the XML node (Overrides RSGeneticBase.TRSIndividual.SaveToXML(IXMLNode).)
|
|
SelectNode(Integer,Boolean)
|
Overloaded. Selects a random node from the DNA program tree that does not exceed the Size or Depth limit (specified by the Limit parameter). The IsSizeLimit parameter controls which limit is used.
|
|
SelectNode(TGAFloat)
|
Overloaded. Selects a random node from the DNA program tree. The FunctionProbability parameter controls how much to prefer non-terminals (functions) over terminals (constants, variables, and functions with arity=0)
|
|
SelectNode(TGAFloat,TGPGeneticInstructions)
|
Overloaded. Selects a random node from the DNA program tree that is of the same instruction types as in the Instructions parameter. The FunctionProbability parameter controls how much to prefer non-terminals (functions) over terminals (constants, variables, and functions with arity=0)
|
|
ToString
|
Returns a string representation of the individual, including its DNA
|