ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::RangeTree< T >::Ordinates Struct Reference

the augmentation: the sorted ordinates, with their copies More...

#include <ADS/geometry/RangeTree.h>

Public types

using Value = std::vector< T >
 the ordinates of a subtree, sorted

Static public member functions

static Value identity (void)
 the empty sequence, the identity of the merge
static Value from (const Point &p, const std::size_t &c)
 \( c \) copies of the ordinate \( y \) of the point \( ( x , y ) \)
static Value combine (const Value &a, const Value &b)
 the merge of the sorted sequences \( a \) and \( b \), \( O( |a| + |b| ) \)

Detailed description

template<std::totally_ordered T>
struct ADS::RangeTree< T >::Ordinates

the augmentation: the sorted ordinates, with their copies

Member typedef documentation

◆ Value

template<std::totally_ordered T>
using ADS::RangeTree< T >::Ordinates::Value = std::vector< T >

the ordinates of a subtree, sorted

Member function documentation

◆ combine()

template<std::totally_ordered T>
Value ADS::RangeTree< T >::Ordinates::combine ( const Value & a,
const Value & b )
inlinestatic

the merge of the sorted sequences \( a \) and \( b \), \( O( |a| + |b| ) \)

◆ from()

template<std::totally_ordered T>
Value ADS::RangeTree< T >::Ordinates::from ( const Point & p,
const std::size_t & c )
inlinestatic

\( c \) copies of the ordinate \( y \) of the point \( ( x , y ) \)

◆ identity()

template<std::totally_ordered T>
Value ADS::RangeTree< T >::Ordinates::identity ( void )
inlinestatic

the empty sequence, the identity of the merge


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