COIN-OR::LEMON - Graph Library

Changeset 1358:a81fbbac3b4c in lemon-0.x for src/demo/min_route.cc


Ignore:
Timestamp:
04/15/05 16:46:03 (19 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1803
Message:

Bug fixes.
Modified test file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/demo/min_route.cc

    r1342 r1358  
     1#include <iostream>
     2#include <fstream>
     3
    14#include <lemon/smart_graph.h>
    25#include <lemon/dijkstra.h>
     
    811
    912#include <cmath>
     13
    1014
    1115using namespace lemon;
     
    2529  }
    2630private:
     31  const CoordMap& coord;
    2732  xy<double> target;
    28   const CoordMap& coord;
    2933};
    3034
     
    6165  SmartGraph graph;
    6266
    63   GraphReader<Graph> reader(std::cin, graph);
     67  std::ifstream is("route.lgf");
     68  GraphReader<Graph> reader(is, graph);
    6469 
    6570  CoordMap coord(graph);
Note: See TracChangeset for help on using the changeset viewer.