Modified the default behavior of eoCountedStateSaver to save the final population.
So if you don't want any population save, don't use any eoCountedStateSaver.
This commit is contained in:
parent
e3834441fd
commit
369ef17081
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ public :
|
||||||
|
|
||||||
eoCountedStateSaver(unsigned _interval, const eoState& _state, std::string _prefix = "state", std::string _extension = "sav")
|
eoCountedStateSaver(unsigned _interval, const eoState& _state, std::string _prefix = "state", std::string _extension = "sav")
|
||||||
: state(_state), interval(_interval), counter(0),
|
: state(_state), interval(_interval), counter(0),
|
||||||
saveOnLastCall(false),
|
saveOnLastCall(true),
|
||||||
prefix(_prefix), extension(_extension) {}
|
prefix(_prefix), extension(_extension) {}
|
||||||
|
|
||||||
virtual void lastCall(void);
|
virtual void lastCall(void);
|
||||||
|
|
|
||||||
Reference in a new issue