This class describes the interface of clearable directed graphs. It extends BaseDigraphComponent with a function for clearing the digraph. This concept requires AlterableDigraphComponent.
#include <lemon/concepts/graph_components.h>
Public Member Functions | |
void | clear () |
Erase all nodes and arcs from the digraph. | |
|
inline |
This function erases all nodes and arcs from the digraph.