# HG changeset patch # User marci # Date 1082811226 0 # Node ID 8dc830d3f9efb7162cee45fed3d5305d84ce45a6 # Parent 770cc1f4861f2d56227d45d1a1b866f05933bc49 jacint mindig modosit, es ezert nekunk is kell diff -r 770cc1f4861f -r 8dc830d3f9ef src/work/jacint/preflow_res.h --- a/src/work/jacint/preflow_res.h Sat Apr 24 12:44:41 2004 +0000 +++ b/src/work/jacint/preflow_res.h Sat Apr 24 12:53:46 2004 +0000 @@ -490,7 +490,7 @@ } //namespace hugo -#endif //PREFLOW_H +#endif //HUGO_PREFLOW_RES_H diff -r 770cc1f4861f -r 8dc830d3f9ef src/work/makefile --- a/src/work/makefile Sat Apr 24 12:44:41 2004 +0000 +++ b/src/work/makefile Sat Apr 24 12:53:46 2004 +0000 @@ -1,5 +1,5 @@ INCLUDEDIRS ?= -I../include -I. -I./{marci,jacint,alpar,klao,akos} -CXXFLAGS = -g -O2 -W -Wall $(INCLUDEDIRS) -ansi -pedantic +CXXFLAGS = -g -O3 -W -Wall $(INCLUDEDIRS) -ansi -pedantic BINARIES ?= bin_heap_demo diff -r 770cc1f4861f -r 8dc830d3f9ef src/work/marci/edmonds_karp_demo.cc --- a/src/work/marci/edmonds_karp_demo.cc Sat Apr 24 12:44:41 2004 +0000 +++ b/src/work/marci/edmonds_karp_demo.cc Sat Apr 24 12:53:46 2004 +0000 @@ -9,7 +9,7 @@ #include //#include #include -#include +#include #include using namespace hugo; @@ -72,8 +72,8 @@ Graph::EdgeMap flow(G); //0 flow Preflow, Graph::EdgeMap > pre_flow_test(G, s, t, cap, flow, true); - PreflowProba, Graph::EdgeMap > - pre_flow_proba(G, s, t, cap, flow, true, true); + PreflowRes, Graph::EdgeMap > + pre_flow_res(G, s, t, cap, flow, true); MaxFlow, Graph::EdgeMap > max_flow_test(G, s, t, cap, flow); @@ -89,7 +89,7 @@ std::cout << "wrapped preflow ..." << std::endl; FOR_EACH_LOC(Graph::EdgeIt, e, G) flow.set(e, 0); ts.reset(); - pre_flow_proba.run(); + pre_flow_res.run(); std::cout << "elapsed time: " << ts << std::endl; std::cout << "flow value: "<< pre_flow_test.flowValue() << std::endl; }