From d3235654af0cc4473a949f553035c45a7b1a3874 Mon Sep 17 00:00:00 2001 From: jboisson Date: Wed, 20 Feb 2008 16:39:12 +0000 Subject: [PATCH] graph.cpp and .h have been modified in order to be compiled with visual studio git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@982 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/paradiseo-mo/src/moRandImprSelect.h | 2 ++ trunk/paradiseo-mo/tutorial/examples/tsp/graph.cpp | 4 ---- trunk/paradiseo-mo/tutorial/examples/tsp/graph.h | 5 +++++ 3 files changed, 7 insertions(+), 4 deletions(-) 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 {