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:
parent
13a649bab0
commit
5ccbfa458d
2 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue