GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
#include <replacementHeapBlock.h>
Public Member Functions | |
ReplacementHeapBlock (queue< MEM_STREAM< T > * > *runList) | |
~ReplacementHeapBlock () | |
int | empty () const |
T | extract_min () |
ostream & | print (ostream &s) const |
Protected Member Functions | |
void | heapify (size_t i) |
void | buildheap () |
void | init () |
void | addRun (MEM_STREAM< T > *run) |
void | deleteRun (size_t i) |
Definition at line 73 of file replacementHeapBlock.h.
ReplacementHeapBlock< T, Compare >::ReplacementHeapBlock | ( | queue< MEM_STREAM< T > * > * | runList | ) |
Definition at line 140 of file replacementHeapBlock.h.
References assert, init(), NULL, and RBHEAP_DEBUG.
ReplacementHeapBlock< T, Compare >::~ReplacementHeapBlock |
Definition at line 164 of file replacementHeapBlock.h.
|
protected |
Definition at line 182 of file replacementHeapBlock.h.
References assert, r, and RBHEAP_DEBUG.
|
protected |
Definition at line 321 of file replacementHeapBlock.h.
|
protected |
Definition at line 216 of file replacementHeapBlock.h.
References assert, and RBHEAP_DEBUG.
|
inline |
Definition at line 111 of file replacementHeapBlock.h.
T ReplacementHeapBlock< T, Compare >::extract_min |
Definition at line 335 of file replacementHeapBlock.h.
References AMI_ERROR_END_OF_STREAM, AMI_ERROR_NO_ERROR, assert, err(), min, and RBHEAP_DEBUG.
|
protected |
Definition at line 290 of file replacementHeapBlock.h.
|
protected |
Definition at line 243 of file replacementHeapBlock.h.
References AMI_ERROR_END_OF_STREAM, AMI_ERROR_NO_ERROR, assert, err(), and RBHEAP_DEBUG.
|
inline |
Definition at line 117 of file replacementHeapBlock.h.