Changeset 330:7ac0d4e8a31c in lemon-0.x for src/work/jacint
- Timestamp:
- 04/15/04 16:41:20 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@448
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/jacint/preflow.h
r278 r330 44 44 45 45 template <typename Graph, typename T, 46 typename FlowMap=typename Graph::EdgeMap<T>, 47 typename CapMap=typename Graph::EdgeMap<T> >46 typename CapMap=typename Graph::EdgeMap<T>, 47 typename FlowMap=typename Graph::EdgeMap<T> > 48 48 class Preflow { 49 49 … … 57 57 Node s; 58 58 Node t; 59 const CapMap& capacity; 59 60 FlowMap& flow; 60 const CapMap& capacity;61 61 T value; 62 62 … … 64 64 Preflow(const Graph& _G, Node _s, Node _t, const CapMap& _capacity, 65 65 FlowMap& _flow ) : 66 G(_G), s(_s), t(_t), flow(_flow), capacity(_capacity) {} 67 66 G(_G), s(_s), t(_t), capacity(_capacity), flow(_flow) {} 68 67 69 68 void run() {
Note: See TracChangeset
for help on using the changeset viewer.