Changeset 317:6e6db1c49bc1 in lemon-0.x for src/work/marci/edmonds_karp_demo.cc
- Timestamp:
- 04/13/04 22:35:47 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@435
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/edmonds_karp_demo.cc
r311 r317 36 36 typedef ListGraph MutableGraph; 37 37 38 typedef SmartGraph Graph;39 //typedef ListGraph Graph;38 // typedef SmartGraph Graph; 39 typedef ListGraph Graph; 40 40 typedef Graph::Node Node; 41 41 typedef Graph::EdgeIt EdgeIt; … … 67 67 Graph::EdgeMap<int> cap(G); 68 68 readDimacsMaxFlow(std::cin, G, s, t, cap); 69 70 // typedef TrivGraphWrapper<Graph> TGW;71 // TGW gw(G);72 // TGW::NodeIt sw;73 // gw./*getF*/first(sw);74 // std::cout << "p1:" << gw.nodeNum() << std::endl;75 // gw.erase(sw);76 // std::cout << "p2:" << gw.nodeNum() << std::endl;77 78 // typedef const Graph cLG;79 // typedef TrivGraphWrapper<const cLG> CTGW;80 // CTGW cgw(G);81 // CTGW::NodeIt csw;82 // cgw./*getF*/first(csw);83 // std::cout << "p1:" << cgw.nodeNum() << std::endl;84 // //cgw.erase(csw);85 // std::cout << "p2:" << cgw.nodeNum() << std::endl;86 69 87 70 {
Note: See TracChangeset
for help on using the changeset viewer.