Changeset 444:618c5d6f36b9 in lemon-0.x for src/work/jacint
- Timestamp:
- 04/27/04 15:47:05 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@592
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/jacint/preflow_res.h
r392 r444 127 127 for(G.first(e,v); G.valid(e); G.next(e)) exc+=flow[e]; 128 128 OutEdgeIt f; 129 for(G.first(f,v); G.valid(f); G.next(f)) exc-=flow[ e];129 for(G.first(f,v); G.valid(f); G.next(f)) exc-=flow[f]; 130 130 131 131 excess.set(v,exc); … … 473 473 474 474 475 void reset_target (Node _t) {t=_t;} 476 void reset_source (Node _s) {s=_s;} 475 476 void resetTarget (Node _t) {t=_t;} 477 void resetSource (Node _s) {s=_s;} 477 478 478 template<typename _CapMap> 479 void reset_cap (_CapMap _cap) {capacity=_cap;} 480 481 template<typename _FlowMap> 482 void reset_cap (_FlowMap _flow, bool _constzero) { 479 void resetCap (CapMap _cap) {capacity=_cap;} 480 481 void resetFlow (FlowMap _flow, bool _constzero) { 483 482 flow=_flow; 484 483 constzero=_constzero; … … 486 485 487 486 488 489 487 }; 490 488
Note: See TracChangeset
for help on using the changeset viewer.