COIN-OR::LEMON - Graph Library

Changeset 776:f2994a2b10b2 in lemon-0.x for src/hugo/minlengthpaths.h


Ignore:
Timestamp:
08/31/04 15:40:07 (16 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1069
Message:

minlengthpaths_test.cc is already hugo++ comform and is compilable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/minlengthpaths.h

    r759 r776  
    8484      EdgeIntMap reversed(G);
    8585
    86       FOR_EACH_LOC(typename Graph::EdgeIt, e, G){
     86      //FOR_EACH_LOC(typename Graph::EdgeIt, e, G){
     87      for(typename Graph::EdgeIt e=loopFirst(typename Graph::EdgeIt(), (G)); e!=INVALID; ++e){
    8788        reversed[e] = mincost_flow.getFlow()[e];
    8889      }
     
    101102         
    102103          while (!reversed[e]){
    103             G.next(e);
     104            ++e;
    104105          }
    105106          n = G.head(e);
Note: See TracChangeset for help on using the changeset viewer.