... | ... |
@@ -169,7 +169,7 @@ |
169 | 169 |
///@{ |
170 | 170 |
|
171 | 171 |
template <typename _FlowMap> |
172 |
struct |
|
172 |
struct SetFlowMapTraits : public Traits { |
|
173 | 173 |
typedef _FlowMap FlowMap; |
174 | 174 |
static FlowMap *createFlowMap(const Digraph&) { |
175 | 175 |
LEMON_ASSERT(false, "FlowMap is not initialized"); |
... | ... |
@@ -183,15 +183,15 @@ |
183 | 183 |
/// \ref named-templ-param "Named parameter" for setting FlowMap |
184 | 184 |
/// type |
185 | 185 |
template <typename _FlowMap> |
186 |
struct |
|
186 |
struct SetFlowMap |
|
187 | 187 |
: public Circulation<Digraph, LCapMap, UCapMap, DeltaMap, |
188 |
|
|
188 |
SetFlowMapTraits<_FlowMap> > { |
|
189 | 189 |
typedef Circulation<Digraph, LCapMap, UCapMap, DeltaMap, |
190 |
|
|
190 |
SetFlowMapTraits<_FlowMap> > Create; |
|
191 | 191 |
}; |
192 | 192 |
|
193 | 193 |
template <typename _Elevator> |
194 |
struct |
|
194 |
struct SetElevatorTraits : public Traits { |
|
195 | 195 |
typedef _Elevator Elevator; |
196 | 196 |
static Elevator *createElevator(const Digraph&, int) { |
197 | 197 |
LEMON_ASSERT(false, "Elevator is not initialized"); |
... | ... |
@@ -205,15 +205,15 @@ |
205 | 205 |
/// \ref named-templ-param "Named parameter" for setting Elevator |
206 | 206 |
/// type |
207 | 207 |
template <typename _Elevator> |
208 |
struct |
|
208 |
struct SetElevator |
|
209 | 209 |
: public Circulation<Digraph, LCapMap, UCapMap, DeltaMap, |
210 |
|
|
210 |
SetElevatorTraits<_Elevator> > { |
|
211 | 211 |
typedef Circulation<Digraph, LCapMap, UCapMap, DeltaMap, |
212 |
|
|
212 |
SetElevatorTraits<_Elevator> > Create; |
|
213 | 213 |
}; |
214 | 214 |
|
215 | 215 |
template <typename _Elevator> |
216 |
struct |
|
216 |
struct SetStandardElevatorTraits : public Traits { |
|
217 | 217 |
typedef _Elevator Elevator; |
218 | 218 |
static Elevator *createElevator(const Digraph& digraph, int max_level) { |
219 | 219 |
return new Elevator(digraph, max_level); |
... | ... |
@@ -227,11 +227,11 @@ |
227 | 227 |
/// type. The Elevator should be standard constructor interface, ie. |
228 | 228 |
/// the digraph and the maximum level should be passed to it. |
229 | 229 |
template <typename _Elevator> |
230 |
struct |
|
230 |
struct SetStandardElevator |
|
231 | 231 |
: public Circulation<Digraph, LCapMap, UCapMap, DeltaMap, |
232 |
|
|
232 |
SetStandardElevatorTraits<_Elevator> > { |
|
233 | 233 |
typedef Circulation<Digraph, LCapMap, UCapMap, DeltaMap, |
234 |
|
|
234 |
SetStandardElevatorTraits<_Elevator> > Create; |
|
235 | 235 |
}; |
236 | 236 |
|
237 | 237 |
/// @} |
0 comments (0 inline)