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

an arc, by its place in the rows More...

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

Public member functions

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

Public attributes

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

Detailed description

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

an arc, by its place in the rows

Constructor and destructor documentation

◆ Arc() [1/3]

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

an invalid arc

◆ Arc() [2/3]

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

the arc \( i \)

◆ Arc() [3/3]

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

the invalid arc of LEMON

Member function documentation

◆ operator!=()

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

whether the two arcs differ

◆ operator<()

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

the order of the ids

◆ operator==()

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

whether the two arcs are the same

Member data documentation

◆ id

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

the place, -1 if invalid


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