GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#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 81 of file replacementHeapBlock.h.
ReplacementHeapBlock< T, Compare >::ReplacementHeapBlock | ( | queue< MEM_STREAM< T > *> * | runList | ) |
Definition at line 156 of file replacementHeapBlock.h.
References assert, init(), NULL, and RBHEAP_DEBUG.
ReplacementHeapBlock< T, Compare >::~ReplacementHeapBlock< T, Compare > | ( | ) |
Definition at line 179 of file replacementHeapBlock.h.
References BlockHeapElement< T >::run.
|
protected |
Definition at line 199 of file replacementHeapBlock.h.
References assert, MEM_STREAM< T >::name(), r, and RBHEAP_DEBUG.
|
protected |
Definition at line 345 of file replacementHeapBlock.h.
|
protected |
Definition at line 236 of file replacementHeapBlock.h.
References assert, RBHEAP_DEBUG, and BlockHeapElement< T >::run.
|
inline |
Definition at line 120 of file replacementHeapBlock.h.
T ReplacementHeapBlock< T, Compare >::extract_min | ( | ) |
Definition at line 360 of file replacementHeapBlock.h.
References AMI_ERROR_END_OF_STREAM, AMI_ERROR_NO_ERROR, assert, err(), min, RBHEAP_DEBUG, and BlockHeapElement< T >::run.
|
protected |
Definition at line 313 of file replacementHeapBlock.h.
|
protected |
Definition at line 267 of file replacementHeapBlock.h.
References AMI_ERROR_END_OF_STREAM, AMI_ERROR_NO_ERROR, assert, err(), RBHEAP_DEBUG, and BlockHeapElement< T >::run.
|
inline |
Definition at line 129 of file replacementHeapBlock.h.