COIN-OR::LEMON - Graph Library

Changeset 931:f112c18bc304 in lemon-main


Ignore:
Timestamp:
03/17/11 00:35:33 (14 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
932:773dd96ecdd8, 942:633956ca9421
Phase:
public
Message:

Bug fix in CostScaling? (#417)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cost_scaling.h

    r877 r931  
    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.