[Lemon-commits] Balazs Dezso: Erase in the documentation of list...

Lemon HG hg at lemon.cs.elte.hu
Mon Jul 28 09:49:46 CEST 2008


details:   http://lemon.cs.elte.hu/hg/lemon/rev/ad6b8c47bd56
changeset: 234:ad6b8c47bd56
user:      Balazs Dezso <deba [at] inf.elte.hu>
date:      Mon Jul 28 09:29:30 2008 +0200
description:
	Erase in the documentation of list graphs

diffstat:

1 file changed, 24 insertions(+)
lemon/list_graph.h |   24 ++++++++++++++++++++++++

diffs (41 lines):

diff -r 28239207a8a3 -r ad6b8c47bd56 lemon/list_graph.h
--- a/lemon/list_graph.h	Wed Jul 23 19:32:48 2008 +0200
+++ b/lemon/list_graph.h	Mon Jul 28 09:29:30 2008 +0200
@@ -362,6 +362,18 @@
     Arc addArc(const Node& s, const Node& t) {
       return Parent::addArc(s, t);
     }
+
+    ///\brief Erase a node from the digraph.
+    ///
+    ///Erase a node from the digraph.
+    ///
+    void erase(const Node& n) { Parent::erase(n); }
+
+    ///\brief Erase an arc from the digraph.
+    ///
+    ///Erase an arc from the digraph.
+    ///
+    void erase(const Arc& a) { Parent::erase(a); }
 
     /// Node validity check
 
@@ -1207,6 +1219,18 @@
     Edge addEdge(const Node& s, const Node& t) {
       return Parent::addEdge(s, t);
     }
+
+    /// \brief Erase a node from the graph.
+    ///
+    /// Erase a node from the graph.
+    ///
+    void erase(const Node& n) { Parent::erase(n); }
+
+    /// \brief Erase an edge from the graph.
+    ///
+    /// Erase an edge from the graph.
+    ///
+    void erase(const Edge& e) { Parent::erase(e); }
     /// Node validity check
 
     /// This function gives back true if the given node is valid,



More information about the Lemon-commits mailing list