#include <lemon/smart_graph.h>
Inherits BpUGraphExtender< lemon::BidirBpUGraphExtender< lemon::SmartBpUGraphBase > >.
Inheritance diagram for SmartBpUGraph:
It also has an important extra feature that its maps are real reference maps.
Public Member Functions | |
SmartBpUGraph () | |
Constructor. | |
Node | addANode () |
Add a new ANode to the graph. | |
Node | addBNode () |
Add a new BNode 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 | |
SmartBpUGraph (const SmartBpUGraph &) | |
SmartBpUGraph is not copy constructible. | |
void | operator= (const SmartBpUGraph &) |
Assignment of SmartBpUGraph to another one is not allowed. | |
Classes | |
class | Snapshot |
Class to make a snapshot of the graph and to restrore to it later. More... |
SmartBpUGraph | ( | const SmartBpUGraph & | ) | [inline, private] |
SmartBpUGraph is not copy constructible.
SmartBpUGraph | ( | ) | [inline] |
Constructor.
void operator= | ( | const SmartBpUGraph & | ) | [inline, private] |
Assignment of SmartBpUGraph to another one is not allowed.
Node addANode | ( | ) | [inline] |
Node addBNode | ( | ) | [inline] |
UEdge addEdge | ( | const Node & | s, | |
const Node & | t | |||
) | [inline] |
Add a new undirected edge to the graph with node s
and t
.
void clear | ( | ) | [inline] |
Erase all the nodes and edges from the graph.
Reimplemented from BpUGraphExtender.