diff --git a/contribution/trunk/combinatorial/routing/tsp/src/graph.cpp b/contribution/trunk/combinatorial/routing/tsp/src/graph.cpp index fee995d12..412b9263a 100644 --- a/contribution/trunk/combinatorial/routing/tsp/src/graph.cpp +++ b/contribution/trunk/combinatorial/routing/tsp/src/graph.cpp @@ -34,10 +34,6 @@ * */ -#include -#include -#include - #include "graph.h" using std::cout; diff --git a/contribution/trunk/combinatorial/routing/tsp/src/graph.h b/contribution/trunk/combinatorial/routing/tsp/src/graph.h index bea04b225..eb53ade4c 100644 --- a/contribution/trunk/combinatorial/routing/tsp/src/graph.h +++ b/contribution/trunk/combinatorial/routing/tsp/src/graph.h @@ -37,18 +37,23 @@ #ifndef graph_h #define graph_h +#include #include #include +#include +#include +#include + namespace Graph - { - void load (const char * __file_name) ; +{ + void load (const char * _file_name) ; /* Loading cities (expressed by their coordinates) from the given file name */ - - float distance (unsigned int __from, unsigned int __to) ; - + + float distance (unsigned int _from, unsigned int _to) ; + unsigned int size () ; // How many cities ? }