COIN-OR::LEMON - Graph Library

Changeset 305:6720705c9095 in lemon-0.x


Ignore:
Timestamp:
04/05/04 19:25:40 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@423
Message:

.

Location:
src/work/marci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/edmonds_karp_demo.cc

    r303 r305  
    44
    55#include <list_graph.h>
    6 //#include <smart_graph.h>
     6#include <smart_graph.h>
    77#include <dimacs.h>
    88#include <edmonds_karp.h>
     
    4040  typedef ListGraph MutableGraph;
    4141
    42   //typedef SmartGraph Graph;
    43   typedef ListGraph Graph;
     42  typedef SmartGraph Graph;
     43  //typedef ListGraph Graph;
    4444  typedef Graph::Node Node;
    4545  typedef Graph::EdgeIt EdgeIt;
  • src/work/marci/graph_wrapper.h

    r303 r305  
    715715    }
    716716
    717     template<typename I> I& next(I &i) const { return graph->next(i); }   
     717    template<typename I> I& next(I &i) const { graph->next(i); return i; }   
    718718//    template<typename I> I getNext(const I& i) const { return gw.getNext(i); }
    719719
     
    10051005    }
    10061006   
    1007     NodeIt& next(NodeIt& n) const { return graph->next(n); }
     1007    NodeIt& next(NodeIt& n) const { graph->next(n); return n; }
    10081008
    10091009    OutEdgeIt& next(OutEdgeIt& e) const {
Note: See TracChangeset for help on using the changeset viewer.