[Lemon-commits] [lemon_svn] alpar: r1362 - hugo/trunk/src/lemon

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


Author: alpar
Date: Wed Nov 10 12:42:00 2004
New Revision: 1362

Modified:
   hugo/trunk/src/lemon/smart_graph.h

Log:
Changes in doc.


Modified: hugo/trunk/src/lemon/smart_graph.h
==============================================================================
--- hugo/trunk/src/lemon/smart_graph.h	(original)
+++ hugo/trunk/src/lemon/smart_graph.h	Wed Nov 10 12:42:00 2004
@@ -232,20 +232,14 @@
 
   ///This is a simple and fast graph implementation.
   ///It is also quite memory efficient, but at the price
-  ///that <b> it does not support node and edge deletion</b>.
+  ///that <b> it does support only limited (only stack-like)
+  ///node and edge deletions</b>.
   ///It conforms to 
   ///the \ref concept::ExtendableGraph "ExtendableGraph" concept.
   ///\sa concept::ExtendableGraph.
   ///
   ///\todo Some member functions could be \c static.
   ///
-  ///\todo A possibly useful functionality: a function saveState()
-  ///(or snapshot() ) would
-  ///give back a data sturcture X and then the function restoreState(X)
-  ///(or rollBack() )
-  ///would remove the nodes and edges added after the call of saveState().
-  ///Of course it should be used as a stack. (Maybe X is not necessary.)
-  ///
   ///\author Alpar Juttner
   class SmartGraph :public ClearableSmartGraphBase {
   public:
@@ -293,6 +287,7 @@
     ///\note After you rolled back to a state, you cannot roll "back" to
     ///a later state, in other word you cannot add again the edges deleted
     ///by rollBack().
+    ///\todo This function might be called saveState() or getState().
     SnapShot makeSnapShot() 
     {
       SnapShot s;



More information about the Lemon-commits mailing list