#include <lemon/concept/ugraph.h>
Inherits UGraph.
Inherited by ErasableUGraph.
Inheritance diagram for ExtendableUGraph:
Public Member Functions | |
Node | addNode () |
Add a new node 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 node to the graph.
|
|
Add a new undirected edge to the graph.
|
|
This function deletes all undirected edges and nodes of the graph. It also frees the memory allocated to store them. |