# HG changeset patch # User alpar # Date 1082912285 0 # Node ID ecebcedd89609b701894f28bd89e6713e94f708e # Parent b4d7b19b67401973de72914fa68f09fcab8d90ab A (non)bug was fixed. Some more docs in SymSmartGraph. diff -r b4d7b19b6740 -r ecebcedd8960 src/include/smart_graph.h --- a/src/include/smart_graph.h Sun Apr 25 16:53:38 2004 +0000 +++ b/src/include/smart_graph.h Sun Apr 25 16:58:05 2004 +0000 @@ -156,7 +156,7 @@ nodes.push_back(NodeT()); //FIXME: Hmmm... for(std::vector * >::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);