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"
using std::cout;

View file

@ -37,18 +37,23 @@
#ifndef graph_h
#define graph_h
#include <string>
#include <vector>
#include <utility>
#include <fstream>
#include <iostream>
#include <math.h>
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 ?
}