GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-f63024f571
|
#include <minmaxheap.h>
Public Member Functions | |
UnboundedMinMaxHeap () | |
UnboundedMinMaxHeap (HeapIndex size) | |
virtual | ~UnboundedMinMaxHeap () |
Public Member Functions inherited from BasicMinMaxHeap< T > | |
BasicMinMaxHeap (HeapIndex size) | |
virtual | ~BasicMinMaxHeap (void) |
bool | empty (void) const |
HeapIndex | size () const |
T | get (HeapIndex i) const |
void | insert (const T &elt) |
bool | min (T &elt) const |
bool | extract_min (T &elt) |
bool | max (T &elt) const |
bool | extract_max (T &elt) |
bool | extract_all_min (T &elt) |
void | reset () |
void | clear () |
void | destructiveVerify () |
void | verify () |
void | print () const |
void | print_range () const |
Protected Member Functions | |
virtual void | grow () |
Additional Inherited Members | |
Static Protected Member Functions inherited from BasicMinMaxHeap< T > | |
static T * | allocateHeap (HeapIndex n) |
static void | freeHeap (T *) |
Protected Attributes inherited from BasicMinMaxHeap< T > | |
HeapIndex | maxsize |
HeapIndex | lastindex |
T * | A |
Definition at line 823 of file minmaxheap.h.
|
inline |
Definition at line 825 of file minmaxheap.h.
|
inline |
Definition at line 826 of file minmaxheap.h.
|
inlinevirtual |
Definition at line 827 of file minmaxheap.h.
|
protectedvirtual |
Implements BasicMinMaxHeap< T >.
Definition at line 834 of file minmaxheap.h.