|
STLdoc
STLdocumentation
|
Base class for unguarded _LoserTree implementation. More...
#include <parallel/losertree.h>
Classes | |
| struct | _Loser |
Public Member Functions | |
| _LoserTreeUnguardedBase (unsigned int __k, const _Tp &__sentinel, _Compare __comp=std::less< _Tp >()) | |
| ~_LoserTreeUnguardedBase () | |
| int | __get_min_source () |
| void | __insert_start (const _Tp &__key, int __source, bool) |
Protected Attributes | |
| unsigned int | _M_ik |
| unsigned int | _M_k |
| unsigned int | _M_offset |
| _Loser * | _M_losers |
| _Compare | _M_comp |
Base class for unguarded _LoserTree implementation.
The whole element is copied into the tree structure.
No guarding is done, therefore not a single input sequence must run empty. Unused __sequence heads are marked with a sentinel which is > all elements that are to be merged.
This is a very fast variant.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.6