[Lemon-commits] [lemon_svn] marci: r113 - hugo/trunk/src/work
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:37:24 CET 2006
Author: marci
Date: Tue Feb 17 12:23:00 2004
New Revision: 113
Modified:
hugo/trunk/src/work/list_graph.hh
Log:
next, goNext
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 12:23:00 2004
@@ -302,6 +302,14 @@
return e;
}
+ bool valid(EdgeIt e) const { return e.valid(); }
+ bool valid(NodeIt n) const { return n.valid(); }
+
+ template <typename It> It next(It it) const {
+ It tmp(it); return goNext(it); }
+ template <typename It> It& goNext(It& it) const { return ++it; }
+
+
/* for getting id's of graph objects */
/* these are important for the implementation of property vectors */
More information about the Lemon-commits
mailing list