equal
deleted
inserted
replaced
92 ::SetElevator<Elev> |
92 ::SetElevator<Elev> |
93 ::SetStandardElevator<LinkedElev> |
93 ::SetStandardElevator<LinkedElev> |
94 ::Create PreflowType; |
94 ::Create PreflowType; |
95 PreflowType preflow_test(g, cap, n, n); |
95 PreflowType preflow_test(g, cap, n, n); |
96 const PreflowType& const_preflow_test = preflow_test; |
96 const PreflowType& const_preflow_test = preflow_test; |
|
97 |
|
98 const PreflowType::Elevator& elev = const_preflow_test.elevator(); |
|
99 preflow_test.elevator(const_cast<PreflowType::Elevator&>(elev)); |
|
100 PreflowType::Tolerance tol = const_preflow_test.tolerance(); |
|
101 preflow_test.tolerance(tol); |
97 |
102 |
98 preflow_test |
103 preflow_test |
99 .capacityMap(cap) |
104 .capacityMap(cap) |
100 .flowMap(flow) |
105 .flowMap(flow) |
101 .source(n) |
106 .source(n) |