[Lemon-commits] [lemon_svn] alpar: r530 - hugo/trunk/src/work/alpar
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:40:00 CET 2006
Author: alpar
Date: Sun Apr 25 19:06:40 2004
New Revision: 530
Modified:
hugo/trunk/src/work/alpar/smart_graph.h
Log:
The diffs in src/include/smart_graph.h between 528:529 was merged into
this file.
Modified: hugo/trunk/src/work/alpar/smart_graph.h
==============================================================================
--- hugo/trunk/src/work/alpar/smart_graph.h (original)
+++ hugo/trunk/src/work/alpar/smart_graph.h Sun Apr 25 19:06:40 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