Hide Comments
Hide Comments

Comments (0)

expandingMethods

 

Name

Description

public method

Add

Creates a new gene ( RSGeneticAlgorithm.TRSGAGene) and adds it to the Items array. Call Add to create a gene in the collection. The new gene is placed at the end of the Items array. The Add method returns the new gene

public method

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.
 
 

public method

Insert(Integer)

Creates a new RSGeneticAlgorithm.TRSGAGene instance and adds it to the Items array.

Call Insert to add a new item 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 collection item.
 

public method

LoadFromXML(IXMLGenoType)

Loads the entire collection of genes from the XML parameter. The old genes are first cleared.

protected method

Notify(TCollectionItem,TCollectionNotification)

Represents method Notify(TCollectionItem,TCollectionNotification).

public method

Owner

Returns the RSGeneticAlgorithm.TRSCustomGeneticAlgorithm component that owns the genes.

public method

SaveToXML(IXMLGenes,TRSGAIndividual)

Overloaded. Saves the specific individual's chromosome values to the XML parameter.

public method

SaveToXML(IXMLGenoType)

Overloaded. Saves all the genes to the XML parameter.

protected method

SizeChange(Integer)

Represents method SizeChange(Integer).

protected method

Update(TCollectionItem)

Represents method Update(TCollectionItem).

protected method

UpdateOffsets(Integer)

Represents method UpdateOffsets(Integer).

Top

Comments (0)