Scroll to navigation

__gnu_parallel::LoserTreeUnguarded(3) Library Functions Manual __gnu_parallel::LoserTreeUnguarded(3)

NAME

__gnu_parallel::LoserTreeUnguarded -

Stable implementation of unguarded LoserTree.

SYNOPSIS

Inherits __gnu_parallel::LoserTreeUnguardedBase< T, Comparator >.

Public Member Functions


void delete_min_insert (T key, bool)
int get_min_source ()
void init ()
unsigned int init_winner (unsigned int root)
void insert_start (const T &key, int source, bool)
LoserTreeUnguarded (unsigned int _k, const T _sentinel, Comparator _comp=std::less< T >())

Protected Attributes


Comparator comp
unsigned int ik
unsigned int k
Loser * losers
unsigned int offset

Detailed Description

template<bool stable, typename T, typename Comparator> class __gnu_parallel::LoserTreeUnguarded< stable, T, Comparator >

Stable implementation of unguarded LoserTree.

Unstable variant is selected below with partial specialization.

Definition at line 617 of file losertree.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

19 Jun 2018 libstdc++