Unguarded loser tree, keeping only pointers to the elements in the tree structure. More...
#include <losertree.h>
Classes | |
struct | _Loser |
Public Member Functions | |
_LoserTreePointerUnguardedBase (unsigned int __k, const _Tp &__sentinel, _Compare __comp=std::less< _Tp >()) | |
~_LoserTreePointerUnguardedBase () | |
int | __get_min_source () |
void | __insert_start (const _Tp &__key, int __source, bool) |
Protected Attributes | |
_Compare | _M_comp |
unsigned int | _M_ik |
unsigned int | _M_k |
_Loser * | _M_losers |
unsigned int | _M_offset |
Unguarded loser tree, keeping only pointers to the elements in the tree structure.
No guarding is done, therefore not a single input sequence must run empty. This is a very fast variant.
|
inline |
References __gnu_parallel::__rd_log2(), __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::_M_k, __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::_Loser::_M_keyp, and __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::_Loser::_M_source.
|
inline |
|
inline |
|
inline |
|
protected |
Referenced by __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreePointerUnguarded< false, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >::__init_winner(), and __gnu_parallel::_LoserTreePointerUnguarded< false, _Tp, _Compare >::__init_winner().
|
protected |
|
protected |
|
protected |
|
protected |