Changeset 1081:f1398882a928 in lemon for lemon/preflow.h
- Timestamp:
- 08/08/11 12:36:16 (13 years ago)
- Branch:
- 1.1
- Phase:
- public
- Tags:
- r1.1.4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/preflow.h
r1027 r1081 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 095 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 537 537 } 538 538 } 539 for (NodeIt n(_graph); n != INVALID; ++n) 539 for (NodeIt n(_graph); n != INVALID; ++n) 540 540 if(n!=_source && n!=_target && _tolerance.positive((*_excess)[n])) 541 541 _level->activate(n); 542 542 543 543 return true; 544 544 } … … 568 568 level = _level->highestActiveLevel(); 569 569 --num; 570 570 571 571 Value excess = (*_excess)[n]; 572 572 int new_level = _level->maxLevel();
Note: See TracChangeset
for help on using the changeset viewer.