tlx
|
#include <loser_tree.hpp>
Public Types | |
using | Super |
using | Source |
![]() | |
using | Source |
size of counters and array indexes | |
Public Member Functions | |
LoserTreePointerUnguarded (const Source &k, const ValueType &sentinel, const Comparator &cmp=Comparator()) | |
void | delete_min_insert (const ValueType *keyp, bool sup) |
![]() | |
LoserTreePointerUnguardedBase (const Source &k, const ValueType &sentinel, const Comparator &cmp=Comparator()) | |
LoserTreePointerUnguardedBase (const LoserTreePointerUnguardedBase &other)=delete | |
LoserTreePointerUnguardedBase & | operator= (const LoserTreePointerUnguardedBase &)=delete |
Source | min_source () |
void | insert_start (const ValueType *keyp, const Source &source, bool sup) |
Source | init_winner (const Source &root) |
void | init () |
Additional Inherited Members | |
![]() | |
static constexpr Source | invalid_ |
sentinel for invalid or finished Sources | |
![]() | |
Source | ik_ |
number of nodes | |
Source | k_ |
log_2(ik) next greater power of 2 | |
SimpleVector< Loser > | losers_ |
array containing loser tree nodes | |
Comparator | cmp_ |
the comparator object | |
Definition at line 790 of file loser_tree.hpp.
using Source |
Definition at line 795 of file loser_tree.hpp.
using Super |
Definition at line 794 of file loser_tree.hpp.
|
inline |
Definition at line 803 of file loser_tree.hpp.
|
inline |
Definition at line 807 of file loser_tree.hpp.