COIN-OR::LEMON - Graph Library

Changeset 141:a17d2a6462ee in lemon-0.x


Ignore:
Timestamp:
03/01/04 17:32:50 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@195
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/edmonds_karp.hh

    r137 r141  
    529529      //searching for augmenting path
    530530      while ( !res_bfs.finished() ) {
    531         AugOutEdgeIt e=AugOutEdgeIt(res_bfs);
     531        AugOutEdgeIt e=/*AugOutEdgeIt*/(res_bfs);
    532532        if (e.valid() && res_bfs.isBNodeNewlyReached()) {
    533533          NodeIt v=res_graph.tail(e);
     
    557557      return _augment;
    558558    }
     559
    559560    template<typename MutableGraph> bool augmentOnBlockingFlow() {
    560561      bool _augment=false;
     
    568569      typename AugGraph::NodeMap<int> dist(res_graph); //filled up with 0's
    569570      while ( !bfs.finished() ) {
    570         AugOutEdgeIt e=AugOutEdgeIt(bfs);
     571        AugOutEdgeIt e=/*AugOutEdgeIt*/(bfs);
    571572        if (e.valid() && bfs.isBNodeNewlyReached()) {
    572573          dist.set(res_graph.head(e), dist.get(res_graph.tail(e))+1);
     
    794795      //searching for augmenting path
    795796      while ( !res_bfs.finished() ) {
    796         AugOutEdgeIt e=AugOutEdgeIt(res_bfs);
     797        AugOutEdgeIt e=/*AugOutEdgeIt*/(res_bfs);
    797798        if (e.valid() && res_bfs.isBNodeNewlyReached()) {
    798799          NodeIt v=res_graph.tail(e);
Note: See TracChangeset for help on using the changeset viewer.