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:
parent
348da5c52c
commit
e8a853e9fb
2 changed files with 2 additions and 0 deletions
|
|
@ -186,6 +186,7 @@ class moILS:public moAlgo < typename M::EOType >
|
|||
while ( continu (_solution) )
|
||||
{
|
||||
perturbation(_solution);
|
||||
_solution.invalidate();
|
||||
full_evaluation(_solution);
|
||||
|
||||
(*algorithm)(_solution);
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ public :
|
|||
void operator () (solution & _solution)
|
||||
{
|
||||
solution solution(_solution);
|
||||
_solution.fitness(2);
|
||||
}
|
||||
} ;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue