Changeset 108:0351b00fd283 in lemon-0.x for src/work/alpar/f_ed_ka_demo.cc
- Timestamp:
- 02/20/04 23:01:02 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@143
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/alpar/f_ed_ka_demo.cc
r103 r108 9 9 #include "../marci/time_measure.h" 10 10 11 using namespace marci;11 using namespace hugo; 12 12 13 13 // Use a DIMACS max flow file as stdin. … … 15 15 16 16 int main(int, char **) { 17 //typedef SmartGraph Graph;18 typedef ListGraph Graph;17 typedef SmartGraph Graph; 18 //typedef ListGraph Graph; 19 19 20 20 typedef Graph::NodeIt NodeIt; … … 24 24 Graph G; 25 25 NodeIt s, t; 26 Graph:: EdgeMap<int> cap(G);26 Graph::DynEdgeMap<int> cap(G); 27 27 readDimacsMaxFlow(std::cin, G, s, t, cap); 28 28 29 29 std::cout << "edmonds karp demo..." << std::endl; 30 Graph:: EdgeMap<int> flow(G); //0 flow30 Graph::DynEdgeMap<int> flow(G); //0 flow 31 31 32 32 int ret;
Note: See TracChangeset
for help on using the changeset viewer.