[Lemon-commits] [lemon_svn] alpar: r529 - hugo/trunk/src/include
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:40:00 CET 2006
Author: alpar
Date: Sun Apr 25 18:58:05 2004
New Revision: 529
Modified:
hugo/trunk/src/include/smart_graph.h
Log:
A (non)bug was fixed.
Some more docs in SymSmartGraph.
Modified: hugo/trunk/src/include/smart_graph.h
==============================================================================
--- hugo/trunk/src/include/smart_graph.h (original)
+++ hugo/trunk/src/include/smart_graph.h Sun Apr 25 18:58:05 2004
@@ -156,7 +156,7 @@
nodes.push_back(NodeT()); //FIXME: Hmmm...
for(std::vector<DynMapBase<Node> * >::iterator i=dyn_node_maps.begin();
- i!=dyn_node_maps.end(); ++i) (**i).add(n.n);
+ i!=dyn_node_maps.end(); ++i) (**i).add(n);
return n;
}
@@ -468,6 +468,7 @@
SymSmartGraph() : SmartGraph() { }
SymSmartGraph(const SmartGraph &_g) : SmartGraph(_g) { }
+ ///Adds a pair of oppositely directed edges to the graph.
Edge addEdge(Node u, Node v)
{
Edge e = SmartGraph::addEdge(u,v);
More information about the Lemon-commits
mailing list