[Lemon-commits] [lemon_svn] alpar: r121 - in hugo/trunk/src/work: . alpar

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:37:27 CET 2006


Author: alpar
Date: Tue Feb 17 17:59:52 2004
New Revision: 121

Modified:
   hugo/trunk/src/work/alpar/f_ed_ka.h
   hugo/trunk/src/work/edmonds_karp.hh
   hugo/trunk/src/work/list_graph.hh

Log:
.


Modified: hugo/trunk/src/work/alpar/f_ed_ka.h
==============================================================================
--- hugo/trunk/src/work/alpar/f_ed_ka.h	(original)
+++ hugo/trunk/src/work/alpar/f_ed_ka.h	Tue Feb 17 17:59:52 2004
@@ -40,7 +40,7 @@
                                              //3: it is node s
     typename Graph::NodeMap<EdgeIt> tree(G);
     
-    EachNodeIt gn;  //FIXME: it might be too global for some people...
+    NodeIt gn;  //FIXME: it might be too global for some people...
     
   augment:
     

Modified: hugo/trunk/src/work/edmonds_karp.hh
==============================================================================
--- hugo/trunk/src/work/edmonds_karp.hh	(original)
+++ hugo/trunk/src/work/edmonds_karp.hh	Tue Feb 17 17:59:52 2004
@@ -242,12 +242,14 @@
 
   template<typename Graph, typename Number, typename FlowMap, typename CapacityMap>
   class ResGraph3 {
+public:
     typedef typename Graph::NodeIt NodeIt;
     typedef typename Graph::EachNodeIt EachNodeIt;
     //typedef typename Graph::SymEdgeIt OldSymEdgeIt;
     typedef typename Graph::OutEdgeIt OldOutEdgeIt;
     typedef typename Graph::InEdgeIt OldInEdgeIt;
     
+private:
     const Graph& G;
     FlowMap& flow;
     const CapacityMap& capacity;

Modified: hugo/trunk/src/work/list_graph.hh
==============================================================================
--- hugo/trunk/src/work/list_graph.hh	(original)
+++ hugo/trunk/src/work/list_graph.hh	Tue Feb 17 17:59:52 2004
@@ -389,8 +389,8 @@
       EachNodeIt(node_item* v) : NodeIt(v) { }
       EachNodeIt& operator++() { node=node->_next_node; return *this; }
       //FIXME::
-      EachNodeIt& operator=(const NodeIt& e)
-      { node=e.node; return *this; }
+      //      EachNodeIt& operator=(const NodeIt& e)
+      //      { node=e.node; return *this; }
     };
 
     class EdgeIt {



More information about the Lemon-commits mailing list