Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::IndexArc< GT, Tree, SA >::Cmp_Arc Struct Reference

Public Member Functions

 Cmp_Arc ()=default
 
 Cmp_Arc (bool __directed) noexcept
 
bool operator() (const GT_Arc *a1, const GT_Arc *a2) const
 

Static Public Member Functions

static bool ptr_less (void *a, void *b) noexcept
 
static std::pair< void *, void * > endpoints (const GT_Arc *a, const bool directed) noexcept
 

Public Attributes

bool directed = false
 

Detailed Description

template<class GT, template< class, class > class Tree = Rand_Tree, class SA = Dft_Show_Arc<GT>>
struct Aleph::IndexArc< GT, Tree, SA >::Cmp_Arc

Definition at line 128 of file tpl_indexArc.H.

Constructor & Destructor Documentation

◆ Cmp_Arc() [1/2]

template<class GT , template< class, class > class Tree = Rand_Tree, class SA = Dft_Show_Arc<GT>>
Aleph::IndexArc< GT, Tree, SA >::Cmp_Arc::Cmp_Arc ( )
default

◆ Cmp_Arc() [2/2]

template<class GT , template< class, class > class Tree = Rand_Tree, class SA = Dft_Show_Arc<GT>>
Aleph::IndexArc< GT, Tree, SA >::Cmp_Arc::Cmp_Arc ( bool  __directed)
inlineexplicitnoexcept

Definition at line 139 of file tpl_indexArc.H.

Member Function Documentation

◆ endpoints()

template<class GT , template< class, class > class Tree = Rand_Tree, class SA = Dft_Show_Arc<GT>>
static std::pair< void *, void * > Aleph::IndexArc< GT, Tree, SA >::Cmp_Arc::endpoints ( const GT_Arc a,
const bool  directed 
)
inlinestaticnoexcept

◆ operator()()

template<class GT , template< class, class > class Tree = Rand_Tree, class SA = Dft_Show_Arc<GT>>
bool Aleph::IndexArc< GT, Tree, SA >::Cmp_Arc::operator() ( const GT_Arc a1,
const GT_Arc a2 
) const
inline

◆ ptr_less()

template<class GT , template< class, class > class Tree = Rand_Tree, class SA = Dft_Show_Arc<GT>>
static bool Aleph::IndexArc< GT, Tree, SA >::Cmp_Arc::ptr_less ( void a,
void b 
)
inlinestaticnoexcept

Member Data Documentation

◆ directed

template<class GT , template< class, class > class Tree = Rand_Tree, class SA = Dft_Show_Arc<GT>>
bool Aleph::IndexArc< GT, Tree, SA >::Cmp_Arc::directed = false

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