template<typename BAS = BaseGraphComponent>
class lemon::concepts::ErasableGraphComponent< BAS >
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>
|
void | erase (const Node &) |
| Erase a node from the graph.
|
|
void | erase (const Edge &) |
| Erase an edge from the digraph.
|
|
void erase |
( |
const Node & |
| ) |
|
|
inline |
This function erases the given node from the graph and all edges connected to the node.
void erase |
( |
const Edge & |
| ) |
|
|
inline |
This function erases the given edge from the digraph.