ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::rank_complexity_t Struct Reference

the query of the time of rank(), so that an \( O( n ) \) rank is not taken for an \( O( 1 ) \) one; linear by default, the worse of the two in a composition More...

#include <ADS/Capabilities.h>

Inheritance diagram for ADS::rank_complexity_t:
ADS::forwarding_query

Static public member functions

template<class S>
static constexpr complexity fallback (void)
 the answer of a structure that does not give one
static constexpr complexity meet (complexity a, complexity b)
 the answer of the composition of two structures

Detailed description

the query of the time of rank(), so that an \( O( n ) \) rank is not taken for an \( O( 1 ) \) one; linear by default, the worse of the two in a composition

Member function documentation

◆ fallback()

template<class S>
constexpr complexity ADS::rank_complexity_t::fallback ( void )
inlinestaticconstexpr

the answer of a structure that does not give one

◆ meet()

constexpr complexity ADS::rank_complexity_t::meet ( complexity a,
complexity b )
inlinestaticconstexpr

the answer of the composition of two structures


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