ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::lemon_interop::StaticDigraphBase< W, L >::Node Struct Reference

a node, by its name in the graph of ADS More...

#include <ADS/interop/lemon/Digraphs.h>

Public member functions

 Node (void)=default
 an invalid node
 Node (int i)
 the node \( i \)
 Node (::lemon::Invalid)
 the invalid node of LEMON
bool operator== (Node o) const
 whether the two nodes are the same
bool operator!= (Node o) const
 whether the two nodes differ
bool operator< (Node o) const
 the order of the ids

Public attributes

int id = -1
 the name, -1 if invalid

Detailed description

template<class W, ArcLayout L = ArcLayout::Separate>
struct ADS::lemon_interop::StaticDigraphBase< W, L >::Node

a node, by its name in the graph of ADS

Constructor and destructor documentation

◆ Node() [1/3]

template<class W, ArcLayout L = ArcLayout::Separate>
ADS::lemon_interop::StaticDigraphBase< W, L >::Node::Node ( void )
default

an invalid node

◆ Node() [2/3]

template<class W, ArcLayout L = ArcLayout::Separate>
ADS::lemon_interop::StaticDigraphBase< W, L >::Node::Node ( int i)
inlineexplicit

the node \( i \)

◆ Node() [3/3]

template<class W, ArcLayout L = ArcLayout::Separate>
ADS::lemon_interop::StaticDigraphBase< W, L >::Node::Node ( ::lemon::Invalid )
inline

the invalid node of LEMON

Member function documentation

◆ operator!=()

template<class W, ArcLayout L = ArcLayout::Separate>
bool ADS::lemon_interop::StaticDigraphBase< W, L >::Node::operator!= ( Node o) const
inline

whether the two nodes differ

◆ operator<()

template<class W, ArcLayout L = ArcLayout::Separate>
bool ADS::lemon_interop::StaticDigraphBase< W, L >::Node::operator< ( Node o) const
inline

the order of the ids

◆ operator==()

template<class W, ArcLayout L = ArcLayout::Separate>
bool ADS::lemon_interop::StaticDigraphBase< W, L >::Node::operator== ( Node o) const
inline

whether the two nodes are the same

Member data documentation

◆ id

template<class W, ArcLayout L = ArcLayout::Separate>
int ADS::lemon_interop::StaticDigraphBase< W, L >::Node::id = -1

the name, -1 if invalid


The documentation for this struct was generated from the following file: