#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_ |
rtflann::IntervalHeap< T >::IntervalHeap | ( | int | capacity | ) | [inline] |
void rtflann::IntervalHeap< T >::clear | ( | ) | [inline] |
bool rtflann::IntervalHeap< T >::empty | ( | ) | [inline] |
bool rtflann::IntervalHeap< T >::getMax | ( | T & | value | ) | [inline] |
bool rtflann::IntervalHeap< T >::getMin | ( | T & | value | ) | [inline] |
void rtflann::IntervalHeap< T >::insert | ( | const T & | value | ) | [inline] |
bool rtflann::IntervalHeap< T >::popMax | ( | T & | value | ) | [inline] |
bool rtflann::IntervalHeap< T >::popMin | ( | T & | value | ) | [inline] |
size_t rtflann::IntervalHeap< T >::size | ( | ) | [inline] |
size_t rtflann::IntervalHeap< T >::capacity_ [private] |
std::vector<Interval> rtflann::IntervalHeap< T >::heap [private] |
size_t rtflann::IntervalHeap< T >::size_ [private] |