Changes in test/circulation_test.cc [577:65fbcf2f978a:440:88ed40ad0d4f] in lemon-1.1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/circulation_test.cc
r577 r440 72 72 FlowMap flow; 73 73 BarrierMap bar; 74 VType v;75 bool b;76 74 77 typedef Circulation<Digraph, CapMap, CapMap, DeltaMap> 78 ::SetFlowMap<FlowMap> 79 ::SetElevator<Elev> 80 ::SetStandardElevator<LinkedElev> 81 ::Create CirculationType; 82 CirculationType circ_test(g, lcap, ucap, delta); 83 const CirculationType& const_circ_test = circ_test; 84 85 circ_test 86 .lowerCapMap(lcap) 87 .upperCapMap(ucap) 88 .deltaMap(delta) 89 .flowMap(flow); 75 Circulation<Digraph, CapMap, CapMap, DeltaMap> 76 ::SetFlowMap<FlowMap> 77 ::SetElevator<Elev> 78 ::SetStandardElevator<LinkedElev> 79 ::Create circ_test(g,lcap,ucap,delta); 80 81 circ_test.lowerCapMap(lcap); 82 circ_test.upperCapMap(ucap); 83 circ_test.deltaMap(delta); 84 flow = circ_test.flowMap(); 85 circ_test.flowMap(flow); 90 86 91 87 circ_test.init(); … … 94 90 circ_test.run(); 95 91 96 v = const_circ_test.flow(a); 97 const FlowMap& fm = const_circ_test.flowMap(); 98 b = const_circ_test.barrier(n); 99 const_circ_test.barrierMap(bar); 100 101 ignore_unused_variable_warning(fm); 92 circ_test.barrier(n); 93 circ_test.barrierMap(bar); 94 circ_test.flow(a); 102 95 } 103 96
Note: See TracChangeset
for help on using the changeset viewer.