#include <lemon/concept/bpugraph.h>
Inherits BpUGraph.
Inherited by ErasableBpUGraph.
Inheritance diagram for ExtendableBpUGraph:
Public Member Functions | |
Node | addANode () |
Add a new ANode to the graph. | |
Node | addBNode () |
Add a new ANode to the graph. | |
UEdge | addEdge (const Node &from, const Node &to) |
Add a new undirected edge to the graph. | |
void | clear () |
Resets the graph. |
|
Add a new ANode to the graph.
|
|
Add a new ANode to the graph.
|
|
Add a new undirected edge to the graph. One of the nodes should be ANode and the other should be BNode.
|
|
This function deletes all undirected edges and nodes of the graph. It also frees the memory allocated to store them. |