COIN-OR::LEMON - Graph Library

Changeset 909:f112c18bc304 in lemon-1.2 for lemon/cost_scaling.h


Ignore:
Timestamp:
03/17/11 00:35:33 (9 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
910:4e36fdf856b7, 915:633956ca9421
Phase:
public
Message:

Bug fix in CostScaling? (#417)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cost_scaling.h

    r877 r909  
    908908          break;
    909909        case AUGMENT:
    910           startAugment();
     910          startAugment(_res_node_num - 1);
    911911          break;
    912912        case PARTIAL_AUGMENT:
     
    10851085
    10861086    /// Execute the algorithm performing augment and relabel operations
    1087     void startAugment(int max_length = std::numeric_limits<int>::max()) {
     1087    void startAugment(int max_length) {
    10881088      // Paramters for heuristics
    10891089      const int EARLY_TERM_EPSILON_LIMIT = 1000;
Note: See TracChangeset for help on using the changeset viewer.