src/demo/min_route.cc
changeset 1394 f0c48d7fa73d
parent 1358 a81fbbac3b4c
child 1410 dcfad73b3965
     1.1 --- a/src/demo/min_route.cc	Wed Apr 27 10:42:58 2005 +0000
     1.2 +++ b/src/demo/min_route.cc	Wed Apr 27 10:44:58 2005 +0000
     1.3 @@ -69,16 +69,16 @@
     1.4    
     1.5    CoordMap coord(graph);
     1.6    XMap<CoordMap> xcoord = xMap(coord);
     1.7 -  reader.addNodeMap("coordinates_x", xcoord);
     1.8 +  reader.readNodeMap("coordinates_x", xcoord);
     1.9    YMap<CoordMap> ycoord = yMap(coord);
    1.10 -  reader.addNodeMap("coordinates_y", ycoord);
    1.11 +  reader.readNodeMap("coordinates_y", ycoord);
    1.12  
    1.13    LengthMap length(graph);
    1.14 -  reader.addEdgeMap("length", length);
    1.15 +  reader.readEdgeMap("length", length);
    1.16  
    1.17    Node source, target;
    1.18 -  reader.addNode("source", source);
    1.19 -  reader.addNode("target", target);
    1.20 +  reader.readNode("source", source);
    1.21 +  reader.readNode("target", target);
    1.22  
    1.23    reader.run();
    1.24