Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > GeneticAlgorithm > RSGeneticAlgorithm > Classes > TRSCustomGeneticAlgorithm > Methods

TRSCustomGeneticAlgorithm.LoadFromXML(IXMLGeneticAlgorithm) Method

Scroll Prev Top Next More

Loads the entire genetic algorithm component from the IXMLGeneticAlgorithm interface, including the    Genes and the    Population. Use the    LoadFromXML and    SaveToXML methods to read and write the genetic algorithm component to XML. The format of the XML is defined in the GeneticAlgorithm.xsd schema file. The TRSCustomGeneticAlgorithm component uses the RSGeneticAlgorithmXML.pas unit and its IXMLGeneticAlgorithm interface to the XML.

Use the overloaded    LoadFromXML and    SaveToXML methods to only read and write the Genes and Population in XML (without the rest of the TRSCustomGeneticAlgorithm properties).

Namespace: RSGeneticAlgorithm



Type: IXMLGeneticAlgorithm

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb