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>
Public Member Functions | |
void | clear () |
Erase all nodes and edges from the graph. |
void clear | ( | ) | [inline] |
This function erases all nodes and edges from the graph.
Reimplemented from ClearableDigraphComponent< BAS >.