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.
|
void | erase (const Node &) |
| Erase a node from the graph.
|
|
void | erase (const Edge &) |
| Erase an edge from the digraph.
|
|
Node | u (const Edge &) const |
| Return one end node of an edge.
|
|
Node | v (const Edge &) const |
| Return the other end node of an edge.
|
|
Arc | direct (const Edge &, bool) const |
| Return a directed arc related to an edge.
|
|
Arc | direct (const Edge &, const Node &) const |
| Return a directed arc related to an edge.
|
|
bool | direction (const Arc &) const |
| Return the direction of the arc.
|
|
Arc | oppositeArc (const Arc &) const |
| Return the opposite arc.
|
|
Node | source (const Arc &) const |
| Return the source node of an arc.
|
|
Node | target (const Arc &) const |
| Return the target node of an arc.
|
|
Node | oppositeNode (const Node &, const Arc &) const |
| Return the opposite node on the given arc.
|
|