Changeset 2533:aea952a1af99 in lemon-0.x for lemon/cycle_canceling.h
- Timestamp:
- 12/05/07 02:43:02 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3410
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/cycle_canceling.h
r2526 r2533 87 87 /// \author Peter Kovacs 88 88 89 template < typename Graph,90 91 92 93 94 89 template < typename Graph, 90 typename LowerMap = typename Graph::template EdgeMap<int>, 91 typename CapacityMap = LowerMap, 92 typename CostMap = typename Graph::template EdgeMap<int>, 93 typename SupplyMap = typename Graph::template NodeMap 94 <typename CapacityMap::Value> > 95 95 class CycleCanceling 96 96 { … … 324 324 325 325 // Finding a feasible flow 326 Circulation< Graph, C apacity, ConstMap<Edge, Capacity>,327 CapacityRefMap, SupplyMap >::DefFlowMap<FlowMap>::Create328 circulation( graph, constMap<Edge>((Capacity)0), 329 capacity, supply);330 circulation.flowMap(flow Map);331 return circulation.run() ;326 Circulation< Graph, ConstMap<Edge, Capacity>, CapacityRefMap, 327 SupplyMap > 328 circulation( graph, constMap<Edge>((Capacity)0), capacity, 329 supply ); 330 circulation.flowMap(flow); 331 return circulation.run() == -1; 332 332 } 333 333
Note: See TracChangeset
for help on using the changeset viewer.