COIN-OR::LEMON - Graph Library

Changeset 788:c3187cafcabf in lemon-0.x for src/hugo/minlengthpaths.h


Ignore:
Timestamp:
09/02/04 18:56:33 (15 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1081
Message:

mincostflow_test is ok.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/minlengthpaths.h

    r776 r788  
    1313#include <vector>
    1414#include <hugo/mincostflows.h>
    15 #include <for_each_macros.h>
    1615
    1716namespace hugo {
     
    8483      EdgeIntMap reversed(G);
    8584
    86       //FOR_EACH_LOC(typename Graph::EdgeIt, e, G){
    87       for(typename Graph::EdgeIt e=loopFirst(typename Graph::EdgeIt(), (G)); e!=INVALID; ++e){
     85      for(typename Graph::EdgeIt e(G); e!=INVALID; ++e)
    8886        reversed[e] = mincost_flow.getFlow()[e];
    89       }
    9087     
    9188      paths.clear();
Note: See TracChangeset for help on using the changeset viewer.