COIN-OR::LEMON - Graph Library

Changeset 444:618c5d6f36b9 in lemon-0.x for src/work/jacint


Ignore:
Timestamp:
04/27/04 15:47:05 (21 years ago)
Author:
jacint
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@592
Message:

debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/jacint/preflow_res.h

    r392 r444  
    127127          for(G.first(e,v); G.valid(e); G.next(e)) exc+=flow[e];
    128128          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];
    130130
    131131          excess.set(v,exc);     
     
    473473
    474474   
    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;}
    477478   
    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) {
    483482      flow=_flow;
    484483      constzero=_constzero;
     
    486485
    487486
    488 
    489487  };
    490488
Note: See TracChangeset for help on using the changeset viewer.