Stable _LoserTree implementation. More...
#include <losertree.h>
Public Member Functions | |
_LoserTreePointer (unsigned int __k, _Compare __comp=std::less< _Tp >()) | |
void | __delete_min_insert (const _Tp &__key, bool __sup) |
int | __get_min_source () |
void | __init () |
unsigned int | __init_winner (unsigned int __root) |
void | __insert_start (const _Tp &__key, int __source, bool __sup) |
Protected Attributes | |
_Compare | _M_comp |
unsigned int | _M_ik |
unsigned int | _M_k |
_Loser * | _M_losers |
unsigned int | _M_offset |
Private Types | |
typedef _LoserTreePointerBase< _Tp, _Compare > | _Base |
Stable _LoserTree implementation.
The unstable variant is implemented using partial instantiation below.
|
private |
|
inline |
|
inline |
References _GLIBCXX_PARALLEL_ASSERT, __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_M_comp, __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_Loser::_M_keyp, __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_Loser::_M_source, __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_Loser::_M_sup, and std::__exception_ptr::swap().
|
inlineinherited |
|
inline |
References __gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare >::__init_winner().
|
inline |
References __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >::_M_comp.
Referenced by __gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare >::__init(), __gnu_parallel::_LoserTreePointer< false, _Tp, _Compare >::__init(), and __gnu_parallel::_LoserTreePointer< false, _Tp, _Compare >::__init_winner().
|
inlineinherited |
|
protectedinherited |
Referenced by __gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreePointer< false, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare >::__init_winner(), and __gnu_parallel::_LoserTreePointer< false, _Tp, _Compare >::__init_winner().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |