ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::lemon_interop::CmpKey< PR, CMP > Struct Template Reference

a priority of LEMON as a key of ADS, ordered by the comparator CMP More...

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

Public attributes

PR p
 the priority

Friends

bool operator< (const CmpKey &a, const CmpKey &b)
 whether \( a \) comes before \( b \)

Detailed description

template<class PR, class CMP>
struct ADS::lemon_interop::CmpKey< PR, CMP >

a priority of LEMON as a key of ADS, ordered by the comparator CMP

◆ operator<

template<class PR, class CMP>
bool operator< ( const CmpKey< PR, CMP > & a,
const CmpKey< PR, CMP > & b )
friend

whether \( a \) comes before \( b \)

Member data documentation

◆ p

template<class PR, class CMP>
PR ADS::lemon_interop::CmpKey< PR, CMP >::p

the priority


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