graph.ccp and .h have been updated to be compatible with windows compilation

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@995 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jboisson 2008-02-21 15:08:00 +00:00
commit e6f725a5a6
2 changed files with 10 additions and 9 deletions

View file

@ -34,10 +34,6 @@
* *
*/ */
#include <fstream>
#include <iostream>
#include <math.h>
#include "graph.h" #include "graph.h"
using std::cout; using std::cout;

View file

@ -37,17 +37,22 @@
#ifndef graph_h #ifndef graph_h
#define graph_h #define graph_h
#include <string>
#include <vector> #include <vector>
#include <utility> #include <utility>
#include <fstream>
#include <iostream>
#include <math.h>
namespace Graph namespace Graph
{ {
void load (const char * __file_name) ; void load (const char * _file_name) ;
/* Loading cities /* Loading cities
(expressed by their coordinates) (expressed by their coordinates)
from the given file name */ 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 ? unsigned int size () ; // How many cities ?
} }