|
csnip
0.1
|
Heaps. More...


Go to the source code of this file.
Macros | |
| #define | csnip_heap_SiftUp(u, v, au_lessthan_av, swap_au_av, K, N, i) |
| Sift an element towards the top (root) of the heap. | |
| #define | csnip_heap_SiftDown(u, v, au_lessthan_av, swap_au_av, K, N, i) |
| Sift an element towards the bottom of the heap. | |
| #define | csnip_heap_Heapify(u, v, au_lessthan_av, swap_au_av, K, N) |
| Transform an array into a heap. | |
| #define | CSNIP_HEAP_DECL_FUNCS(scope, prefix, gen_args) |
| Generator macro to declare heap functions. More... | |
| #define | CSNIP_HEAP_DEF_FUNCS(scope, prefix, gen_args, u, v, au_lessthan_av, swap_au_av, K, N) |
| Generator macro to define heap functions. More... | |