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 | |
SmartBpUGraph () | |
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 &) | |
void | operator= (const SmartBpUGraph &) |
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] |
Reimplemented from BpUGraphExtender< BidirBpUGraphExtender< SmartBpUGraphBase > >.
Node addBNode | ( | ) | [inline] |
Reimplemented from BpUGraphExtender< BidirBpUGraphExtender< SmartBpUGraphBase > >.
UEdge addEdge | ( | const Node & | s, | |
const Node & | t | |||
) | [inline] |
Add a new undirected edge to the graph with node s
and t
.
Reimplemented from BpUGraphExtender< BidirBpUGraphExtender< SmartBpUGraphBase > >.
void clear | ( | ) | [inline] |
Erase all the nodes and edges from the graph.
Reimplemented from BpUGraphExtender< BidirBpUGraphExtender< SmartBpUGraphBase > >.