Changeset 987:87f7c54892df in lemon-0.x for src/work/athos/mincostflow.h
- Timestamp:
- 11/13/04 18:07:10 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1377
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/athos/mincostflow.h
r986 r987 44 44 class MinCostFlow { 45 45 46 typedef typename CostMap::Value TypeCost;47 48 49 typedef typename SupplyDemandMap::Value TypeSupplyDemand;46 typedef typename CostMap::Value Cost; 47 48 49 typedef typename SupplyDemandMap::Value SupplyDemand; 50 50 51 51 typedef typename Graph::Node Node; … … 69 69 const NodeMap &pot; 70 70 public : 71 typedef typename CostMap::Key Type KeyType;72 typedef typename CostMap::Value Type ValueType;71 typedef typename CostMap::Key Key; 72 typedef typename CostMap::Value Value; 73 73 74 Value Typeoperator[](typename ResGraph::Edge e) const {74 Value operator[](typename ResGraph::Edge e) const { 75 75 if (res_graph.forward(e)) 76 76 return ol[e]-(pot[res_graph.target(e)]-pot[res_graph.source(e)]);
Note: See TracChangeset
for help on using the changeset viewer.