Changeset 2582:4f1ac622bb7a in lemon-0.x
- Timestamp:
- 02/28/08 03:55:23 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3464
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/min_cost_max_flow.h
r2579 r2582 55 55 /// \warning 56 56 /// - Edge capacities and costs should be \e non-negative \e integers. 57 /// However \c CostMap::Value must be signed type.58 57 /// - \c CapacityMap::Value must be convertible to \c CostMap::Value. 58 /// - \c CostMap::Value must be signed type. 59 59 /// 60 60 /// \author Peter Kovacs … … 129 129 MinCostFlowImpl mcf( _graph, _capacity, _cost, 130 130 _source, _target, preflow.flowValue() ); 131 mcf.run(); 132 _flow = mcf.flowMap(); 133 _potential = mcf.potentialMap(); 131 mcf.flowMap(_flow).potentialMap(_potential).run(); 134 132 } 135 133
Note: See TracChangeset
for help on using the changeset viewer.