00001 /* Copyright Robin Schirrmeister and Simon Skilevic 00002 * Lecture Efficient Route Planning Summer Semester 2011 00003 * Uni Freiburg 00004 */ 00005 00006 #ifndef ROUTEPLANNINGV2_NODEDEPENDENT_H_ 00007 #define ROUTEPLANNINGV2_NODEDEPENDENT_H_ 00008 #include <string> 00009 using std::string; 00010 00011 class NodeDependent 00012 { 00013 public: 00014 NodeDependent(int id, double latitude, double longitude); 00015 //NodeDependent(int id, double latitude, double longitude, string StopIDName); 00016 int id; 00017 double latitude; 00018 double longitude; 00019 int straightLineDistanceTo(const NodeDependent& otherNode); 00020 }; 00021 #endif // ROUTEPLANNINGV2_NODEDEPENDENT_H_