EvolvingObjects
eoCheckPoint< EOT > Class Template Reference

eoCheckPoint is a container class. More...

#include <eoCheckPoint.h>

Inheritance diagram for eoCheckPoint< EOT >:
eoContinue< EOT > eoUF< const eoPop< EOT > &, bool > eoPersistent eoFunctorBase unary_function eoPrintable eoSignal< EOT >

List of all members.

Public Member Functions

 eoCheckPoint (eoContinue< EOT > &_cont)
bool operator() (const eoPop< EOT > &_pop)
 The pure virtual function that needs to be implemented by the subclass.
void add (eoContinue< EOT > &_cont)
void add (eoSortedStatBase< EOT > &_stat)
void add (eoStatBase< EOT > &_stat)
void add (eoMonitor &_mon)
void add (eoUpdater &_upd)
virtual std::string className (void) const
std::string allClassNames () const
 returns a string with all className() of data separated with "\n" (for debugging)

Private Attributes

std::vector< eoContinue< EOT > * > continuators
std::vector< eoSortedStatBase
< EOT > * > 
sorted
std::vector< eoStatBase< EOT > * > stats
std::vector< eoMonitor * > monitors
std::vector< eoUpdater * > updaters

Detailed Description

template<class EOT>
class eoCheckPoint< EOT >

eoCheckPoint is a container class.

It contains std::vectors of (pointers to) eoContinue (modif. MS July 16. 2002) eoStats, eoUpdater and eoMonitor it is an eoContinue, so its operator() will be called every generation - and will return the contained-combined-eoContinue result but before that it will call in turn every single {statistics, updaters, monitors} that it has been given, and after that, if stopping, all lastCall methods of the above.

Examples:
t-eoFitnessAssembledEA.cpp, t-eoGA.cpp, t-eoReal.cpp, t-eoSSGA.cpp, and t-eoSymreg.cpp.

Definition at line 65 of file eoCheckPoint.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends