Hide Comments
Hide Comments

TRSCustomGeneticAlgorithm.SaveToXML(IXMLGeneticAlgorithm) Method

Comments (0)

Saves the entire genetic algorithm component to 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 SaveToXML(const GAXML: IXMLGeneticAlgorithm); overload; virtual;
 

Parameters

GAXML

Type: IXMLGeneticAlgorithm

expandingSee Also

Comments (0)