tlx
LoserTreeCopyUnguarded< true, ValueType, Comparator > Class Template Reference

#include <loser_tree.hpp>

Inheritance diagram for LoserTreeCopyUnguarded< true, ValueType, Comparator >:
LoserTreeCopyUnguardedBase< ValueType, Comparator >

Public Types

using Super = LoserTreeCopyUnguardedBase< ValueType, Comparator >
 
using Source = typename Super::Source
 
- Public Types inherited from LoserTreeCopyUnguardedBase< ValueType, Comparator >
using Source = uint32_t
 size of counters and array indexes More...
 

Public Member Functions

 LoserTreeCopyUnguarded (Source k, const ValueType &sentinel, const Comparator &comp=Comparator())
 
void delete_min_insert (const ValueType *keyp, bool sup)
 
- Public Member Functions inherited from LoserTreeCopyUnguardedBase< ValueType, Comparator >
 LoserTreeCopyUnguardedBase (Source k, const ValueType &sentinel, const Comparator &cmp=Comparator())
 
Source min_source ()
 return the index of the player with the smallest element. More...
 
void insert_start (const ValueType *keyp, const Source &source, bool sup)
 
Source init_winner (const Source &root)
 
void init ()
 

Additional Inherited Members

- Static Public Attributes inherited from LoserTreeCopyUnguardedBase< ValueType, Comparator >
static constexpr Source invalid_
 sentinel for invalid or finished Sources More...
 
- Protected Attributes inherited from LoserTreeCopyUnguardedBase< ValueType, Comparator >
Source ik_
 number of nodes More...
 
Source k_
 log_2(ik) next greater power of 2 More...
 
SimpleVector< Loserlosers_
 array containing loser tree nodes More...
 
Comparator cmp_
 the comparator object More...
 

Detailed Description

template<typename ValueType, typename Comparator>
class tlx::LoserTreeCopyUnguarded< true, ValueType, Comparator >

Definition at line 653 of file loser_tree.hpp.


The documentation for this class was generated from the following file: