Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramming > Classes > TRSCustomGeneticProgramming<T> > Methods

TRSCustomGeneticProgramming<T>.LoadFromXML(IXMLGeneticProgram) Method

Scroll Prev Top Next More

Load the entire genetic programming scenario from the XML

alert_cautionWarning

The component reads and writes the metadata about instructions (i.e., name, arity, comment) but does not actually read or write the OnExecute code. After reading a genetic programming scenario, you need to add OnExecute event handlers to instructions.

alert_cautionImportant Note

When reading a genetic programming scenario, the component will attempt to match currently existing instructions to instruction names in the scenario. IF an instruction is found, the instruction will be preserved (including its OnExecute event).

After reading the scenario, any previous instructions not found in the scenario will be deleted.

Namespace: RSGenerics.GeneticProgramming

Parameters

GPXML

Type: IXMLGeneticProgram

Implements

IRSGeneticProgramReaderWriter.LoadFromXML(IXMLGeneticProgram)
IRSGeneticProgramReaderWriter.LoadFromXML(IXMLGeneticProgram)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb