|
Name
|
Description
|
|
Add
|
creates a new individual (TRSGPIndividual<T>) and adds it to the Items array. Call Add to create an individual or solution in the collection. The new individual is placed at the end of the Items array. The Add method returns the new individual.
|
|
Engine
|
Returns the IRSGeneticProgramEngine<T> that owns the collection (or nil if there is no owner that supports the IRSGeneticProgramEngine<T> interface)
|
|
FindItemID(Integer)
|
Returns the Item with the specified ID. The FindItemID method returns the item in the collection whose ID property is passed to it as a parameter. If no item has the specified ID, FindItemID returns nil.
|
|
Insert(Integer)
|
Creates a new instance and adds it to the Items array. Call Insert to add a new individual at a specified position in the collection. Existing items (starting from the specified position) are moved up in the Items array.
Insert returns the new individual.
|
|
LoadFromXML(IXMLGPPopulation)
|
Overloaded. Loads an entire population and their dna from the XML parameter. The old population is first cleared.
|
|
LoadFromXML(IXMLNode)
|
Overloaded. Loads an entire population and their dna from the XML parameter. The old population is first cleared. (Overrides RSGeneticBase.TRSPopulation.LoadFromXML(IXMLNode).)
|
|
SaveToXML(IXMLGPPopulation)
|
Overloaded. Saves every individual of the population and its DNA to the XML parameter.
|
|
SaveToXML(IXMLNode)
|
Overloaded. Saves every individual of the population and its chromosomes to the XML parameter. (Overrides RSGeneticBase.TRSPopulation.SaveToXML(IXMLNode).)
|