Stable implementation of unguarded _LoserTree. More...
#include <losertree.h>
Public Member Functions | |
_LoserTreeUnguarded (unsigned int __k, const _Tp &__sentinel, _Compare __comp=std::less< _Tp >()) | |
void | __delete_min_insert (_Tp __key, bool) |
int | __get_min_source () |
void | __init () |
unsigned int | __init_winner (unsigned int __root) |
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 |
Private Types | |
typedef _LoserTreeUnguardedBase< _Tp, _Compare > | _Base |
Stable implementation of unguarded _LoserTree.
Unstable variant is selected below with partial specialization.
|
private |
|
inline |
|
inline |
References _GLIBCXX_PARALLEL_ASSERT, __gnu_parallel::_LoserTreeUnguardedBase< _Tp, _Compare >::_M_comp, __gnu_parallel::_LoserTreeUnguardedBase< _Tp, _Compare >::_Loser::_M_key, __gnu_parallel::_LoserTreeUnguardedBase< _Tp, _Compare >::_Loser::_M_source, and std::__exception_ptr::swap().
|
inlineinherited |
|
inline |
References __gnu_parallel::_LoserTreeUnguarded< __stable, _Tp, _Compare >::__init_winner(), and _GLIBCXX_PARALLEL_ASSERT.
|
inline |
References __gnu_parallel::_LoserTreeUnguardedBase< _Tp, _Compare >::_M_comp.
Referenced by __gnu_parallel::_LoserTreeUnguarded< __stable, _Tp, _Compare >::__init(), __gnu_parallel::_LoserTreeUnguarded< false, _Tp, _Compare >::__init(), and __gnu_parallel::_LoserTreeUnguarded< false, _Tp, _Compare >::__init_winner().
|
inlineinherited |
|
protectedinherited |
Referenced by __gnu_parallel::_LoserTreeUnguarded< __stable, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreeUnguarded< false, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreeUnguarded< __stable, _Tp, _Compare >::__init_winner(), and __gnu_parallel::_LoserTreeUnguarded< false, _Tp, _Compare >::__init_winner().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |