moTS has been updated, a bug has been corrected
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1324 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
7ff50add05
commit
96b41c0445
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ class moTS:public moAlgo < typename M::EOType >
|
||||||
(*move_explorer) (_solution, new_solution);
|
(*move_explorer) (_solution, new_solution);
|
||||||
|
|
||||||
// Updating the best solution found until now ?
|
// Updating the best solution found until now ?
|
||||||
if (new_solution.fitness() > _solution.fitness())
|
if (new_solution.fitness() > best_solution.fitness())
|
||||||
{
|
{
|
||||||
best_solution = new_solution;
|
best_solution = new_solution;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue