This class describes the interface of clearable undirected graphs. It extends BaseGraphComponent with a function for clearing the graph. This concept requires AlterableGraphComponent.
#include <lemon/concepts/graph_components.h>
Inheritance diagram for ClearableGraphComponent< BAS >:Public Member Functions | |
| void | clear () |
| Erase all nodes and edges from the graph. | |
Public Member Functions inherited from ClearableDigraphComponent< BAS > | |
| void | clear () |
| Erase all nodes and arcs from the digraph. | |
|
inline |
This function erases all nodes and edges from the graph.
1.8.2