COIN-OR::LEMON - Graph Library

Changeset 1081:f1398882a928 in lemon for lemon/preflow.h


Ignore:
Timestamp:
08/08/11 12:36:16 (11 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
1.1
Phase:
public
Tags:
r1.1.4
Message:

Unify sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/preflow.h

    r1027 r1081  
    33 * This file is a part of LEMON, a generic C++ optimization library.
    44 *
    5  * Copyright (C) 2003-2009
     5 * Copyright (C) 2003-2011
    66 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    77 * (Egervary Research Group on Combinatorial Optimization, EGRES).
     
    537537        }
    538538      }
    539       for (NodeIt n(_graph); n != INVALID; ++n) 
     539      for (NodeIt n(_graph); n != INVALID; ++n)
    540540        if(n!=_source && n!=_target && _tolerance.positive((*_excess)[n]))
    541541          _level->activate(n);
    542          
     542
    543543      return true;
    544544    }
     
    568568          level = _level->highestActiveLevel();
    569569          --num;
    570          
     570
    571571          Value excess = (*_excess)[n];
    572572          int new_level = _level->maxLevel();
Note: See TracChangeset for help on using the changeset viewer.