This class describes the interface of erasable undirected graphs. It extends BaseGraphComponent with functions for removing nodes and edges from the graph. This concept requires AlterableGraphComponent.
#include <lemon/concepts/graph_components.h>
Inherits BAS.
Public Member Functions | |
void | erase (const Node &) |
Erase a node from the graph. | |
void | erase (const Edge &) |
Erase an edge from the digraph. | |
|
inline |
This function erases the given node from the graph and all edges connected to the node.
|
inline |
This function erases the given edge from the digraph.