diff -r 2edd8cd06eaf -r f0c48d7fa73d src/demo/lp_maxflow_demo.cc --- a/src/demo/lp_maxflow_demo.cc Wed Apr 27 10:42:58 2005 +0000 +++ b/src/demo/lp_maxflow_demo.cc Wed Apr 27 10:44:58 2005 +0000 @@ -75,8 +75,8 @@ ListGraph::EdgeMap cap(g); GraphReader reader(std::cin,g); - reader.addNode("source",s).addNode("target",t) - .addEdgeMap("capacity",cap).run(); + reader.readNode("source",s).readNode("target",t) + .readEdgeMap("capacity",cap).run(); // std::ifstream file("../test/preflow_"); // readDimacs(file, g, cap, s, t);