last modification invalidate

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1616 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jhumeau 2009-10-22 12:46:04 +00:00
commit 3512f82858
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -126,7 +126,7 @@ class moTS:public moAlgo < typename M::EOType >
continu.init (); continu.init ();
while ( continu (_solution) ) do
{ {
(*move_explorer) (_solution, new_solution); (*move_explorer) (_solution, new_solution);
@ -138,7 +138,7 @@ class moTS:public moAlgo < typename M::EOType >
_solution = new_solution; _solution = new_solution;
} }
while ( continu (_solution) );
_solution = best_solution; _solution = best_solution;