COIN-OR::LEMON - Graph Library

Changeset 2544:5143b01bf1d5 in lemon-0.x for lemon/cycle_canceling.h


Ignore:
Timestamp:
12/19/07 23:23:28 (17 years ago)
Author:
Peter Kovacs
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3421
Message:

Bug fix (Circulation interface changed).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cycle_canceling.h

    r2533 r2544  
    326326      Circulation< Graph, ConstMap<Edge, Capacity>, CapacityRefMap,
    327327                   SupplyMap >
    328         circulation( graph, constMap<Edge>((Capacity)0), capacity, 
     328        circulation( graph, constMap<Edge>((Capacity)0), capacity,
    329329                     supply );
    330330      circulation.flowMap(flow);
    331       return circulation.run() == -1;
     331      return circulation.run();
    332332    }
    333333
Note: See TracChangeset for help on using the changeset viewer.