From 07ea076b1366dae5477114d26f7256bd82b04780 Mon Sep 17 00:00:00 2001 From: cahon Date: Fri, 9 Dec 2005 17:45:56 +0000 Subject: [PATCH] eoContinue is now persistent --- eo/src/eoContinue.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/eo/src/eoContinue.h b/eo/src/eoContinue.h index 0521043d..d3b45f36 100644 --- a/eo/src/eoContinue.h +++ b/eo/src/eoContinue.h @@ -27,16 +27,27 @@ #include #include +#include /** Termination condition for the genetic algorithm * Takes the population as input, returns true for continue, * false for termination */ template< class EOT> -class eoContinue : public eoUF&, bool> +class eoContinue : public eoUF&, bool>, public eoPersistent { public: virtual std::string className(void) const { return "eoContinue"; } + + void readFrom (std :: istream & __is) { + + /* It should be implemented by subclasses ! */ + } + + void printOn (std :: ostream & __os) const { + + /* It should be implemented by subclasses ! */ + } }; #endif