Changeset 1358:a81fbbac3b4c in lemon-0.x for src/demo/min_route.cc
- Timestamp:
- 04/15/05 16:46:03 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1803
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/demo/min_route.cc
r1342 r1358 1 #include <iostream> 2 #include <fstream> 3 1 4 #include <lemon/smart_graph.h> 2 5 #include <lemon/dijkstra.h> … … 8 11 9 12 #include <cmath> 13 10 14 11 15 using namespace lemon; … … 25 29 } 26 30 private: 31 const CoordMap& coord; 27 32 xy<double> target; 28 const CoordMap& coord;29 33 }; 30 34 … … 61 65 SmartGraph graph; 62 66 63 GraphReader<Graph> reader(std::cin, graph); 67 std::ifstream is("route.lgf"); 68 GraphReader<Graph> reader(is, graph); 64 69 65 70 CoordMap coord(graph);
Note: See TracChangeset
for help on using the changeset viewer.