Changeset 2507:6520edb2c3f3 in lemon-0.x for lemon/min_cost_max_flow.h
- Timestamp:
- 11/07/07 22:52:57 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3361
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/min_cost_max_flow.h
r2440 r2507 76 76 /// \brief The type of the flow map. 77 77 typedef typename Graph::template EdgeMap<Capacity> FlowMap; 78 typedef typename CostMap::Value Cost; 78 79 79 80 private: … … 134 135 Cost totalCost() const { 135 136 Cost c = 0; 136 for ( EdgeIt e(graph); e != INVALID; ++e)137 for (typename Graph::EdgeIt e(graph); e != INVALID; ++e) 137 138 c += flow[e] * cost[e]; 138 139 return c;
Note: See TracChangeset
for help on using the changeset viewer.