Bug fixed: slution was not invalidate after a perturbation.

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1615 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jhumeau 2009-10-16 10:22:20 +00:00
commit e8a853e9fb
2 changed files with 2 additions and 0 deletions

View file

@ -186,6 +186,7 @@ class moILS:public moAlgo < typename M::EOType >
while ( continu (_solution) )
{
perturbation(_solution);
_solution.invalidate();
full_evaluation(_solution);
(*algorithm)(_solution);

View file

@ -131,6 +131,7 @@ public :
void operator () (solution & _solution)
{
solution solution(_solution);
_solution.fitness(2);
}
} ;