|
tlx
|
#include <loser_tree.hpp>
Public Types | |
| using | Super |
| using | Source |
| Public Types inherited from LoserTreeCopyUnguardedBase< ValueType, Comparator > | |
| using | Source |
| size of counters and array indexes | |
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. | |
| void | insert_start (const ValueType *keyp, const Source &source, bool sup) |
| Source | init_winner (const Source &root) |
| void | init () |
Private Attributes | |
| Source | k_ |
| log_2(ik) next greater power of 2 | |
| SimpleVector< Loser > | losers_ |
| array containing loser tree nodes | |
| Comparator | cmp_ |
| the comparator object | |
Additional Inherited Members | |
| Static Public Attributes inherited from LoserTreeCopyUnguardedBase< ValueType, Comparator > | |
| static constexpr Source | invalid_ |
| sentinel for invalid or finished Sources | |
| Protected Attributes inherited from LoserTreeCopyUnguardedBase< ValueType, Comparator > | |
| 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 653 of file loser_tree.hpp.
| using Source |
Definition at line 658 of file loser_tree.hpp.
| using Super |
Definition at line 657 of file loser_tree.hpp.
|
inline |
Definition at line 666 of file loser_tree.hpp.
|
inline |
Definition at line 671 of file loser_tree.hpp.
|
|
private |
the comparator object
|
|
private |
log_2(ik) next greater power of 2
|
|
private |
array containing loser tree nodes