#include <heap.h>
Classes | |
struct | Interval |
Public Member Functions | |
void | clear () |
bool | empty () |
bool | getMax (T &value) |
bool | getMin (T &value) |
void | insert (const T &value) |
IntervalHeap (int capacity) | |
bool | popMax (T &value) |
bool | popMin (T &value) |
size_t | size () |
Private Attributes | |
size_t | capacity_ |
std::vector< Interval > | heap |
size_t | size_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |