diff --git a/trunk/paradiseo-mo/src/moRandImprSelect.h b/trunk/paradiseo-mo/src/moRandImprSelect.h index 7d379ac3c..447b7b455 100755 --- a/trunk/paradiseo-mo/src/moRandImprSelect.h +++ b/trunk/paradiseo-mo/src/moRandImprSelect.h @@ -86,6 +86,8 @@ class moRandImprSelect: public moMoveSelect < M > better_fitnesses.push_back(_fitness); better_moves.push_back(_move); } + + return true; } //! The move selection diff --git a/trunk/paradiseo-mo/tutorial/examples/tsp/graph.cpp b/trunk/paradiseo-mo/tutorial/examples/tsp/graph.cpp index fee995d12..412b9263a 100644 --- a/trunk/paradiseo-mo/tutorial/examples/tsp/graph.cpp +++ b/trunk/paradiseo-mo/tutorial/examples/tsp/graph.cpp @@ -34,10 +34,6 @@ * */ -#include -#include -#include - #include "graph.h" using std::cout; diff --git a/trunk/paradiseo-mo/tutorial/examples/tsp/graph.h b/trunk/paradiseo-mo/tutorial/examples/tsp/graph.h index 2fff03688..eb53ade4c 100644 --- a/trunk/paradiseo-mo/tutorial/examples/tsp/graph.h +++ b/trunk/paradiseo-mo/tutorial/examples/tsp/graph.h @@ -37,8 +37,13 @@ #ifndef graph_h #define graph_h +#include #include #include +#include +#include +#include + namespace Graph {