It also has an important extra feature that its maps are real reference maps.
#include <lemon/smart_graph.h>
Classes | |
class | Snapshot |
Class to make a snapshot of the graph and to restrore to it later. More... | |
Public Member Functions | |
SmartUGraph () | |
Node | addNode () |
Add a new node to the graph. | |
UEdge | addEdge (const Node &s, const Node &t) |
Add a new undirected edge to the graph. | |
void | clear () |
Clear the graph. | |
Private Member Functions | |
SmartUGraph (const SmartUGraph &) | |
void | operator= (const SmartUGraph &) |
SmartUGraph | ( | const SmartUGraph & | ) | [inline, private] |
SmartUGraph is not copy constructible. Use UGraphCopy() instead.
SmartUGraph | ( | ) | [inline] |
Constructor.
void operator= | ( | const SmartUGraph & | ) | [inline, private] |
Assignment of SmartUGraph to another one is not allowed. Use UGraphCopy() instead.
Node addNode | ( | ) | [inline] |
UEdge addEdge | ( | const Node & | s, | |
const Node & | t | |||
) | [inline] |
Add a new undirected edge to the graph with node s
and t
.
Reimplemented from UGraphExtender< SmartUGraphBase >.
void clear | ( | ) | [inline] |
Erase all the nodes and edges from the graph.
Reimplemented from UGraphExtender< SmartUGraphBase >.