My Project
|
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. More... | |
![]() | |
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 | |
![]() | |
typedef GraphItem< 'n'> | Node |
Node class of the digraph. More... | |
typedef GraphItem< 'a'> | Arc |
Arc class of the digraph. More... | |
|
inline |
This function erases all nodes and arcs from the digraph.