#include <lemon/concept/graph.h>
Inherits StaticGraph.
Inherited by ErasableGraph.
Inheritance diagram for ExtendableGraph:
Public Member Functions | |
ExtendableGraph () | |
Defalult constructor. | |
Node | addNode () |
Add a new node to the graph. | |
Edge | addEdge (Node, Node) |
Add a new edge to the graph. | |
void | clear () |
Resets the graph. |
|
Defalult constructor. |
|
|
|
Add a new edge to the graph with source node
|
|
This function deletes all edges and nodes of the graph. It also frees the memory allocated to store them.
|