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:
evomarc 2001-04-12 05:35:05 +00:00
commit 369ef17081

View file

@ -95,7 +95,7 @@ public :
eoCountedStateSaver(unsigned _interval, const eoState& _state, std::string _prefix = "state", std::string _extension = "sav")
: state(_state), interval(_interval), counter(0),
saveOnLastCall(false),
saveOnLastCall(true),
prefix(_prefix), extension(_extension) {}
virtual void lastCall(void);