![]() |
API Documentation
|
A heap data structure that takes the form of a binary tree which is a common way of implementing priority queues. More...
#include <BinaryHeap.hpp>
Public Member Functions | |
| BinaryHeap (uint04 size) | |
| void | clear () |
| void | deleteExtreme () |
| t_comp_type | extremeComp () const |
| t_value_type | extremeValue () const |
| const Buffer< std::pair< t_value_type, t_comp_type > > & | getAll () const |
| void | insert (t_comp_type comparison, t_value_type value) |
| t_value_type | popExtreme () |
| t_value_type | replaceExtreme (t_comp_type comparison, t_value_type value) const |
| uint04 | size () const |
| Buffer< t_value_type > | sortedIndices () const |
| Buffer< std::pair< t_value_type, t_comp_type > > | sortedValues () const |
| Buffer< std::pair< t_value_type, t_comp_type > > & | values () |
| const Buffer< std::pair< t_value_type, t_comp_type > > & | values () const |
A heap data structure that takes the form of a binary tree which is a common way of implementing priority queues.
|
inlineexplicit |
|
inline |
|
inline |
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |
|
inline |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |