Hide Comments
Hide Comments

TRSCustomGeneticAlgorithm.LoadFromXML(IXMLGeneticAlgorithm) Method

Comments (0)

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

expandingSyntax

Delphi

public
  procedure LoadFromXML(const GAXML: IXMLGeneticAlgorithm); reintroduce; overload; virtual;
 

Parameters

GAXML

Type: IXMLGeneticAlgorithm

expandingSee Also

Comments (0)