|
TRF Language Model
|
heap, using a linear array. It can be used to sort values. More...
#include "wb-vector.h"Go to the source code of this file.
Classes | |
| class | wb::_wb_HEAP_UNIT_< TValue, TWeight > |
| heap unit More... | |
| class | wb::Heap< TValue, TWeight > |
| heap More... | |
Namespaces | |
| wb | |
| define all the code written by Bin Wang. | |
Macros | |
| #define | HEAPMODE_MAXHEAP 0x0001 |
| max heap, used to sort from large to small More... | |
| #define | HEAPMODE_MINHEAP 0x0002 |
| min heap, used to sort from samll to large More... | |
| #define | wbHeap_PARENT(i) ((i)/2) |
| heap get father index More... | |
| #define | wbHeap_RIGHT(i) (2*(i)+1) |
| heap Right index More... | |
| #define | wbHeap_LEFT(i) (2*(i)) |
| heap Left index More... | |
Typedefs | |
| typedef unsigned short | wb::_wb_HEAP_MODE_ |
heap, using a linear array. It can be used to sort values.
Definition in file wb-heap.h.
| #define HEAPMODE_MAXHEAP 0x0001 |
| #define HEAPMODE_MINHEAP 0x0002 |