Changeset 390:8dc830d3f9ef in lemon-0.x for src
- Timestamp:
- 04/24/04 14:53:46 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@521
- Location:
- src/work
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/jacint/preflow_res.h
r388 r390 491 491 } //namespace hugo 492 492 493 #endif // PREFLOW_H494 495 496 497 493 #endif //HUGO_PREFLOW_RES_H 494 495 496 497 -
src/work/makefile
r389 r390 1 1 INCLUDEDIRS ?= -I../include -I. -I./{marci,jacint,alpar,klao,akos} 2 CXXFLAGS = -g -O 2-W -Wall $(INCLUDEDIRS) -ansi -pedantic2 CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic 3 3 4 4 BINARIES ?= bin_heap_demo -
src/work/marci/edmonds_karp_demo.cc
r389 r390 10 10 //#include <graph_wrapper.h> 11 11 #include <preflow.h> 12 #include <preflow proba.h>12 #include <preflow_res.h> 13 13 #include <for_each_macros.h> 14 14 … … 73 73 Preflow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> > 74 74 pre_flow_test(G, s, t, cap, flow, true); 75 Preflow Proba<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> >76 pre_flow_ proba(G, s, t, cap, flow, true, true);75 PreflowRes<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> > 76 pre_flow_res(G, s, t, cap, flow, true); 77 77 MaxFlow<Graph, int, Graph::EdgeMap<int>, Graph::EdgeMap<int> > 78 78 max_flow_test(G, s, t, cap, flow); … … 90 90 FOR_EACH_LOC(Graph::EdgeIt, e, G) flow.set(e, 0); 91 91 ts.reset(); 92 pre_flow_ proba.run();92 pre_flow_res.run(); 93 93 std::cout << "elapsed time: " << ts << std::endl; 94 94 std::cout << "flow value: "<< pre_flow_test.flowValue() << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.