Add the include moEvalsContinuator.h into mo.h

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1995 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
verel 2010-11-08 14:43:01 +00:00
commit 83e167a74b

View file

@ -78,11 +78,13 @@ public:
virtual bool operator()(EOT & _solution) {
if (solComparator(_solution, bestSol) || solComparator.equals(_solution, bestSol))
cpt++;
else
cpt = 0;
bool res = (cpt < maxNoImprove);
if (!res && verbose)
std::cout << "STOP in moBestNoImproveContinuator: Reached maximum number of iterations [" << cpt << "/" << maxNoImprove << "]" << std::endl;
std::cout << "STOP in moBestNoImproveContinuator: Reached maximum number of iterations without improvement [" << cpt << "/" << maxNoImprove << "]" << std::endl;
return res;
}