Changeset 610:dacc2cee2b4c in lemon-main for test
- Timestamp:
- 04/17/09 18:14:35 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/circulation_test.cc
r440 r610 58 58 typedef Digraph::Arc Arc; 59 59 typedef concepts::ReadMap<Arc,VType> CapMap; 60 typedef concepts::ReadMap<Node,VType> DeltaMap;60 typedef concepts::ReadMap<Node,VType> SupplyMap; 61 61 typedef concepts::ReadWriteMap<Arc,VType> FlowMap; 62 62 typedef concepts::WriteMap<Node,bool> BarrierMap; … … 69 69 Arc a; 70 70 CapMap lcap, ucap; 71 DeltaMap delta;71 SupplyMap supply; 72 72 FlowMap flow; 73 73 BarrierMap bar; 74 74 75 Circulation<Digraph, CapMap, CapMap, DeltaMap>75 Circulation<Digraph, CapMap, CapMap, SupplyMap> 76 76 ::SetFlowMap<FlowMap> 77 77 ::SetElevator<Elev> 78 78 ::SetStandardElevator<LinkedElev> 79 ::Create circ_test(g,lcap,ucap, delta);79 ::Create circ_test(g,lcap,ucap,supply); 80 80 81 circ_test.lower CapMap(lcap);82 circ_test.upper CapMap(ucap);83 circ_test. deltaMap(delta);81 circ_test.lowerMap(lcap); 82 circ_test.upperMap(ucap); 83 circ_test.supplyMap(supply); 84 84 flow = circ_test.flowMap(); 85 85 circ_test.flowMap(flow);
Note: See TracChangeset
for help on using the changeset viewer.