Changeset 305:6720705c9095 in lemon0.x for src/work/marci
 Timestamp:
 04/05/04 19:25:40 (20 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@423
 Location:
 src/work/marci
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

src/work/marci/edmonds_karp_demo.cc
r303 r305 4 4 5 5 #include <list_graph.h> 6 //#include <smart_graph.h>6 #include <smart_graph.h> 7 7 #include <dimacs.h> 8 8 #include <edmonds_karp.h> … … 40 40 typedef ListGraph MutableGraph; 41 41 42 //typedef SmartGraph Graph;43 typedef ListGraph Graph;42 typedef SmartGraph Graph; 43 //typedef ListGraph Graph; 44 44 typedef Graph::Node Node; 45 45 typedef Graph::EdgeIt EdgeIt; 
src/work/marci/graph_wrapper.h
r303 r305 715 715 } 716 716 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; } 718 718 // template<typename I> I getNext(const I& i) const { return gw.getNext(i); } 719 719 … … 1005 1005 } 1006 1006 1007 NodeIt& next(NodeIt& n) const { return graph>next(n); }1007 NodeIt& next(NodeIt& n) const { graph>next(n); return n; } 1008 1008 1009 1009 OutEdgeIt& next(OutEdgeIt& e) const {
Note: See TracChangeset
for help on using the changeset viewer.