![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <heap.h>
Public Member Functions | |
| IntervalHeap (int capacity) | |
| size_t | size () |
| bool | empty () |
| void | clear () |
| void | insert (const T &value) |
| bool | popMin (T &value) |
| bool | popMax (T &value) |
| bool | getMin (T &value) |
| bool | getMax (T &value) |
|
inline |
|
inline |
Clears the heap.
Definition at line 216 of file heap.h.
References size_.
Referenced by flann::BoundedHeap< T >::clear().
|
inline |
Tests if the heap is empty
Definition at line 208 of file heap.h.
References size_.
Referenced by flann::BoundedHeap< T >::empty().
|
inline |
Definition at line 390 of file heap.h.
References size_.
Referenced by flann::BoundedHeap< T >::insert().
|
inline |
|
inline |
Definition at line 221 of file heap.h.
References size_.
Referenced by flann::BoundedHeap< T >::insert().
|
inline |
Returns the element of maximum value from the heap
| value |
Definition at line 340 of file heap.h.
References size_, and std::swap().
Referenced by flann::BoundedHeap< T >::insert().
|
inline |
Returns the node of minimum value from the heap
| value | out parameter used to return the min element |
Definition at line 295 of file heap.h.
References size_, and std::swap().
Referenced by flann::BoundedHeap< T >::popMin().
|
inline |
Definition at line 199 of file heap.h.
References size_.
Referenced by flann::BoundedHeap< T >::insert(), and flann::BoundedHeap< T >::size().