EvolvingObjects
|
Termination condition until a running time is reached. More...
#include <eoTimeContinue.h>
Public Member Functions | |
eoTimeContinue (time_t _max) | |
Ctor. | |
virtual bool | operator() (const eoPop< EOT > &_pop) |
Returns false when the running time is reached. | |
virtual std::string | className (void) const |
Class name. | |
Private Attributes | |
time_t | max |
maximum running time | |
time_t | start |
starting time |
Termination condition until a running time is reached.
Definition at line 39 of file eoTimeContinue.h.
eoTimeContinue< EOT >::eoTimeContinue | ( | time_t | _max | ) | [inline] |
Ctor.
_max | maximum running time |
Definition at line 47 of file eoTimeContinue.h.
References eoTimeContinue< EOT >::start.
virtual bool eoTimeContinue< EOT >::operator() | ( | const eoPop< EOT > & | _pop | ) | [inline, virtual] |
Returns false when the running time is reached.
_pop | the population |
Implements eoUF< const eoPop< EOT > &, bool >.
Definition at line 57 of file eoTimeContinue.h.
References eoTimeContinue< EOT >::max, and eoTimeContinue< EOT >::start.