My Project
|
This class describes the interface of clearable undirected graphs. It extends BaseGraphComponent with a function for clearing the graph. This concept requires AlterableGraphComponent.
#include <lemon/concepts/graph_components.h>
Additional Inherited Members | |
![]() | |
typedef GraphItem< 'n'> | Node |
Node class of the digraph. | |
typedef GraphItem< 'a'> | Arc |
Arc class of the digraph. | |
![]() | |
void | clear () |
Erase all nodes and arcs from the digraph. | |
![]() | |
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. | |