Rechercher une page de manuel
__gnu_parallel::LoserTreeUnguardedBase
Langue: en
Version: 157747 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
__gnu_parallel::LoserTreeUnguardedBase - Base class for unguarded LoserTree implementation.SYNOPSIS
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
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 554 of file losertree.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre