src/demo/min_route.cc
changeset 1410 dcfad73b3965
parent 1394 f0c48d7fa73d
equal deleted inserted replaced
2:1d4f1a94fbbf 3:e36a8c895238
    90     dijkstra.start(target);
    90     dijkstra.start(target);
    91 
    91 
    92     std::cout << dijkstra.dist(target) << std::endl;
    92     std::cout << dijkstra.dist(target) << std::endl;
    93     std::cout << timer << std::endl;
    93     std::cout << timer << std::endl;
    94   }
    94   }
    95 
       
    96   {
    95   {
    97     Timer timer;
    96     Timer timer;
    98     typedef PotentialMap<CoordMap> Potential;
    97     typedef PotentialMap<CoordMap> Potential;
    99     Potential potential(coord, coord[target]);
    98     Potential potential(coord, coord[target]);
   100 
    99