#include <smart_graph.h>
Inheritance diagram for SymSmartGraph:
addEdge(u,v)
adds a pair of oppositely directed edges. There is a new edge map type called SymEdgeMap that complements this feature by storing shared values for the edge pairs. The usual EdgeMap can be used as well.The oppositely directed edge can also be obtained easily using opposite.
Definition at line 321 of file smart_graph.h.
Public Member Functions | |
Edge | addEdge (Node u, Node v) |
Adds a pair of oppositely directed edges to the graph. | |
Static Public Member Functions | |
Edge | opposite (Edge e) |
The oppositely directed edge. |
|
Returns the oppositely directed pair of the edge |