__gnu_parallel::losertreeunguardedbase(3)

NAME

__gnu_parallel::LoserTreeUnguardedBase

SYNOPSIS

Inherited by __gnu_parallel::LoserTreeUnguarded< stable, T, Comparator
>, and __gnu_parallel::LoserTreeUnguarded< false, T, Comparator >.

Detailed Description

template<typename T, typename Comparator> class
__gnu_parallel::LoserTreeUnguardedBase< T, Comparator > 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.
Definition at line 560 of file losertree.h.
Public Member Functions
int get_min_source ()
void insert_start (const T &key, int source, bool) LoserTreeUnguardedBase (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

Author

Generated automatically by Doxygen for libstdc++ from the source code.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout