[Lemon-commits] [lemon_svn] deba: r2659 - hugo/trunk/lemon/concept

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


Author: deba
Date: Thu Mar 30 11:36:33 2006
New Revision: 2659

Modified:
   hugo/trunk/lemon/concept/ugraph.h

Log:
IncEdgeIt goes through on loop edges twice.



Modified: hugo/trunk/lemon/concept/ugraph.h
==============================================================================
--- hugo/trunk/lemon/concept/ugraph.h	(original)
+++ hugo/trunk/lemon/concept/ugraph.h	Thu Mar 30 11:36:33 2006
@@ -436,12 +436,13 @@
       /// edges of a node.
       ///
       /// This iterator goes trough the incident undirected edges
-      /// of a certain node
-      /// of a graph.
+      /// of a certain node of a graph. You should assume that the 
+      /// loop edges will be iterated twice.
+      /// 
       /// Its usage is quite simple, for example you can compute the
-      /// degree (i.e. count the number
-      /// of incident edges of a node \c n
-      /// in graph \c g of type \c Graph as follows.
+      /// degree (i.e. count the number of incident edges of a node \c n
+      /// in graph \c g of type \c Graph as follows. 
+      ///
       ///\code
       /// int count=0;
       /// for(Graph::IncEdgeIt e(g, n); e!=INVALID; ++e) ++count;



More information about the Lemon-commits mailing list