HC and TS MoveLoopExpl modification, final move made before fitness update

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@793 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jboisson 2007-11-20 08:30:11 +00:00
commit 5ccbfa458d
2 changed files with 4 additions and 4 deletions

View file

@ -101,8 +101,8 @@ template < class M > class moHCMoveLoopExpl:public moMoveLoopExpl < M >
Fitness best_move_fit;
move_select (best_move, best_move_fit);
__new_sol.fitness (best_move_fit);
best_move (__new_sol);
best_move (__new_sol);
__new_sol.fitness (best_move_fit);
}
catch (EmptySelection & __ex)

View file

@ -122,9 +122,9 @@ template < class M > class moTSMoveLoopExpl:public moMoveLoopExpl < M >
move_select (best_move, best_move_fit);
__new_sol.fitness (best_move_fit);
best_move (__new_sol);
__new_sol.fitness (best_move_fit);
/* Removing moves that are
no more tabu */
tabu_list.update ();