1.1 --- a/src/demo/lp_maxflow_demo.cc Wed Apr 27 10:42:58 2005 +0000
1.2 +++ b/src/demo/lp_maxflow_demo.cc Wed Apr 27 10:44:58 2005 +0000
1.3 @@ -75,8 +75,8 @@
1.4 ListGraph::EdgeMap<double> cap(g);
1.5
1.6 GraphReader<ListGraph> reader(std::cin,g);
1.7 - reader.addNode("source",s).addNode("target",t)
1.8 - .addEdgeMap("capacity",cap).run();
1.9 + reader.readNode("source",s).readNode("target",t)
1.10 + .readEdgeMap("capacity",cap).run();
1.11
1.12 // std::ifstream file("../test/preflow_");
1.13 // readDimacs(file, g, cap, s, t);