GeneticAlgoIODelegate Class Reference

Interface for saving/loading data generated by GeneticAlgo. More...

Public Member Functions

virtual void recoverData (GeneticAlgo *)
 called to recover data from an interrupted previous running
virtual void saveData (GeneticAlgo *)
 called at the end of each generation to save data

Detailed Description

Interface for saving/loading data generated by GeneticAlgo.

During the evolution process implemented by a subclass of GeneticAlgo a lot of data will be generated. This class represent the interface that the delegate object for saving/loading the generate data on files has to implemented.

Definition at line 42 of file geneticalgo.h.

Member Function Documentation

virtual void recoverData ( GeneticAlgo )
inlinevirtual

called to recover data from an interrupted previous running

Parameters
gais the GA requesting the recovering

Definition at line 51 of file geneticalgo.h.

Referenced by StefanoSteadyStateGA::initialize(), SimpleGA::initialize(), NSGA2::initialize(), ParallelGA::initialize(), and LaralGA::initialize().

virtual void saveData ( GeneticAlgo )
inlinevirtual

called at the end of each generation to save data

Parameters
gais the GA requesting to saveData

Definition at line 47 of file geneticalgo.h.

Referenced by StefanoSteadyStateGA::gaStep(), SimpleGA::gaStep(), NSGA2::gaStep(), ParallelGA::gaStep(), and LaralGA::gaStep().


The documentation for this class was generated from the following file: