|
Lely core libraries 2.3.2
|
A node in a pairing heap. More...
#include <pheap.h>

Data Fields | |
| const void * | key |
| A pointer to the key of this node. | |
| struct pnode * | parent |
| A pointer to the parent node. | |
| struct pnode * | next |
| A pointer to the next sibling node. | |
| struct pnode * | child |
| A pointer to the first child node. | |
A node in a pairing heap.
To associate a value with a node, embed the node in a struct containing the value and use structof() to obtain the struct from the node.
| const void* pnode::key |