|
My Project
|
This class describes the interface of erasable directed graphs. It extends BaseDigraphComponent with functions for removing nodes and arcs from the digraph. This concept requires AlterableDigraphComponent.
#include <lemon/concepts/graph_components.h>
Inheritance diagram for ErasableDigraphComponent< BAS >:Public Member Functions | |
| void | erase (const Node &) |
| Erase a node from the digraph. More... | |
| void | erase (const Arc &) |
| Erase an arc from the digraph. More... | |
Public Member Functions inherited from BaseDigraphComponent | |
| Node | source (const Arc &) const |
| Return the source node of an arc. More... | |
| Node | target (const Arc &) const |
| Return the target node of an arc. More... | |
| Node | oppositeNode (const Node &, const Arc &) const |
| Return the opposite node on the given arc. More... | |
Additional Inherited Members | |
Public Types inherited from BaseDigraphComponent | |
| typedef GraphItem< 'n'> | Node |
| Node class of the digraph. More... | |
| typedef GraphItem< 'a'> | Arc |
| Arc class of the digraph. More... | |
|
inline |
This function erases the given node from the digraph and all arcs connected to the node.
|
inline |
This function erases the given arc from the digraph.
1.8.18