Changeset 2507:6520edb2c3f3 in lemon-0.x for lemon/capacity_scaling.h
- Timestamp:
- 11/07/07 22:52:57 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3361
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/capacity_scaling.h
r2471 r2507 365 365 for (OutEdgeIt e(graph, n); e != INVALID; ++e) 366 366 s -= _lower[e]; 367 supply[n] = imbalance[n] =s;367 supply[n] = s; 368 368 sum += s; 369 369 } … … 446 446 for (OutEdgeIt e(graph, n); e != INVALID; ++e) 447 447 s -= _lower[e]; 448 supply[n] = imbalance[n] =s;448 supply[n] = s; 449 449 } 450 450 valid_supply = true; … … 534 534 bool init() { 535 535 if (!valid_supply) return false; 536 imbalance = supply; 536 537 537 538 // Initalizing Dijkstra class
Note: See TracChangeset
for help on using the changeset viewer.