[Lemon-commits] [lemon_svn] marci: r1274 - hugo/branches/graph_factory/src/lemon

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


Author: marci
Date: Wed Oct  6 17:01:17 2004
New Revision: 1274

Modified:
   hugo/branches/graph_factory/src/lemon/graph_factory.h

Log:
Graph::first(...It), is it needed??


Modified: hugo/branches/graph_factory/src/lemon/graph_factory.h
==============================================================================
--- hugo/branches/graph_factory/src/lemon/graph_factory.h	(original)
+++ hugo/branches/graph_factory/src/lemon/graph_factory.h	Wed Oct  6 17:01:17 2004
@@ -80,18 +80,18 @@
       }
     };
    
-//     NodeIt& first(NodeIt& i) const { 
-//       i=NodeIt(*this); return i;
-//     }
-//     OutEdgeIt& first(OutEdgeIt& i, const Node& p) const { 
-//       i=OutEdgeIt(*this, p); return i;
-//     }
-//     InEdgeIt& first(InEdgeIt& i, const Node& p) const { 
-//       i=InEdgeIt(*this, p); return i;
-//     }
-//     EdgeIt& first(EdgeIt& i) const { 
-//       i=EdgeIt(*this); return i;
-//     }
+    NodeIt& first(NodeIt& i) const { 
+      i=NodeIt(*this); return i;
+    }
+    OutEdgeIt& first(OutEdgeIt& i, const Node& p) const { 
+      i=OutEdgeIt(*this, p); return i;
+    }
+    InEdgeIt& first(InEdgeIt& i, const Node& p) const { 
+      i=InEdgeIt(*this, p); return i;
+    }
+    EdgeIt& first(EdgeIt& i) const { 
+      i=EdgeIt(*this); return i;
+    }
 
 //     Node tail(const Edge& e) const { 
 //       return Node(graph->tail(static_cast<typename Graph::Edge>(e))); }



More information about the Lemon-commits mailing list