EvolvingObjects
|
an eoUpdater that saves a state every given generations More...
#include <eoUpdater.h>
Public Member Functions | |
eoCountedStateSaver (unsigned _interval, const eoState &_state, std::string _prefix, bool _saveOnLastCall, std::string _extension="sav", unsigned _counter=0) | |
eoCountedStateSaver (unsigned _interval, const eoState &_state, std::string _prefix="state", std::string _extension="sav", unsigned _counter=0) | |
virtual void | lastCall (void) |
void | operator() (void) |
The pure virtual function that needs to be implemented by the subclass. | |
virtual std::string | className (void) const |
Private Member Functions | |
void | doItNow (void) |
Private Attributes | |
const eoState & | state |
const unsigned | interval |
unsigned | counter |
bool | saveOnLastCall |
const std::string | prefix |
const std::string | extension |
an eoUpdater that saves a state every given generations
Definition at line 142 of file eoUpdater.h.