|
ADS
Algorithms and Data Structures
|
the base of lemon::DigraphExtender on a StaticGraph< W , L >: the arcs are the places of its compressed rows More...
#include <ADS/interop/lemon/Digraphs.h>
Classes | |
| struct | Node |
| a node, by its name in the graph of ADS More... | |
| struct | Arc |
| an arc, by its place in the rows More... | |
Public types | |
| using | NodeNumTag = ::lemon::True |
| nodeNum() in O( 1 ) | |
| using | ArcNumTag = ::lemon::True |
| arcNum() in O( 1 ) | |
Public member functions | |
| void | attach (const StaticGraph< W, L > &g) |
| the base of \( g \): the tails and the lists of the arcs into each node, in \( \Theta( n + a ) \) time | |
| const StaticGraph< W, L > & | graph (void) const |
| the graph of ADS | |
| int | nodeNum (void) const |
| the number of nodes | |
| int | arcNum (void) const |
| the number of arcs | |
| int | maxNodeId (void) const |
| the largest id of a node | |
| int | maxArcId (void) const |
| the largest id of an arc | |
| Node | source (Arc a) const |
| the tail of an arc | |
| Node | target (Arc a) const |
| the head of an arc | |
| void | first (Node &u) const |
| the first node, the last name | |
| void | first (Arc &a) const |
| the first arc, the last place | |
| void | firstOut (Arc &a, const Node &u) const |
| the first arc out of \( u \), in the order of the row | |
| void | nextOut (Arc &a) const |
| the next arc out of the same node | |
| void | firstIn (Arc &a, const Node &v) const |
| the first arc into \( v \) | |
| void | nextIn (Arc &a) const |
| the next arc into the same node | |
Static public member functions | |
| static int | id (Node u) |
| the id of a node | |
| static int | id (Arc a) |
| the id of an arc | |
| static Node | nodeFromId (int i) |
| the node of id \( i \) | |
| static Arc | arcFromId (int i) |
| the arc of id \( i \) | |
| static void | next (Node &u) |
| the next node | |
| static void | next (Arc &a) |
| the next arc | |
the base of lemon::DigraphExtender on a StaticGraph< W , L >: the arcs are the places of its compressed rows
| using ADS::lemon_interop::StaticDigraphBase< W, L >::ArcNumTag = ::lemon::True |
arcNum() in O( 1 )
| using ADS::lemon_interop::StaticDigraphBase< W, L >::NodeNumTag = ::lemon::True |
nodeNum() in O( 1 )
|
inlinestatic |
the arc of id \( i \)
|
inlinenodiscard |
the number of arcs
| void ADS::lemon_interop::StaticDigraphBase< W, L >::attach | ( | const StaticGraph< W, L > & | g | ) |
the base of \( g \): the tails and the lists of the arcs into each node, in \( \Theta( n + a ) \) time
|
inline |
the first arc, the last place
|
inline |
the first node, the last name
|
inline |
the first arc into \( v \)
|
inline |
the first arc out of \( u \), in the order of the row
|
inlinenodiscard |
the graph of ADS
|
inlinestatic |
the id of an arc
|
inlinestatic |
the id of a node
|
inlinenodiscard |
the largest id of an arc
|
inlinenodiscard |
the largest id of a node
|
inlinestatic |
the next arc
|
inlinestatic |
the next node
|
inline |
the next arc into the same node
|
inline |
the next arc out of the same node
|
inlinestatic |
the node of id \( i \)
|
inlinenodiscard |
the number of nodes
|
inlinenodiscard |
the tail of an arc
|
inlinenodiscard |
the head of an arc