Changeset 1222:a3fb216a267d in lemon-0.x for src/test
- Timestamp:
- 03/17/05 11:43:57 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1642
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/preflow_test.cc
r1215 r1222 50 50 preflow_test.run(); 51 51 preflow_test.flowValue(); 52 preflow_test.s etSource(n);53 preflow_test. setFlow(flow);52 preflow_test.source(n); 53 preflow_test.flowMap(flow); 54 54 55 55 preflow_test.phase1(PType::NO_FLOW); … … 57 57 58 58 preflow_test.phase2(); 59 preflow_test. setTarget(n);60 preflow_test. setCap(cap);59 preflow_test.target(n); 60 preflow_test.capacityMap(cap); 61 61 preflow_test.minMinCut(cut); 62 62 preflow_test.maxMinCut(cut); … … 130 130 131 131 for(EdgeIt e(g); e!=INVALID; ++e) cap[e]=2*cap[e]; 132 preflow_test. setCap(cap);132 preflow_test.capacityMap(cap); 133 133 134 134 preflow_test.phase1(PType::PRE_FLOW); … … 169 169 } 170 170 171 preflow_test. setFlow(flow);171 preflow_test.flowMap(flow); 172 172 173 173 NodeIt tmp1(g,s); … … 179 179 if ( tmp2 != INVALID ) t=tmp2; 180 180 181 preflow_test.s etSource(s);182 preflow_test. setTarget(t);181 preflow_test.source(s); 182 preflow_test.target(t); 183 183 184 184 preflow_test.run();
Note: See TracChangeset
for help on using the changeset viewer.