|
typedef unsigned char | Color |
|
typedef MetaBinNode< _Node, Key > | Node |
|
|
static const unsigned int | MaxHeight = 128 |
| Estimated for 4 Gb of nodes of 1 byte (according to 2*lg(n+1) bound)
|
|
Inserts a node in a HtdRbTree.
- Devuelve
- a pointer to the inserted node if node is not found in tree; NULL otherwise.
- Parámetros
-
p | a pointer to the node to be inserted |
Hace referencia a LLINK y RLINK.
template<class Key >
Node* HtdRbTree< Key >::search |
( |
const Key & |
key | ) |
|
|
inline |
Searches a key in a HtdRbTree.
- Devuelve
- a pointer to the node containing the key if the key is found; NULL otherwise.
- Parámetros
-
Hace referencia a Aleph::searchInBinTree().
Verifies correctness of red black tree.
This function checks that each node satisfies the red black conditions and aborts if any condition is violated.
Only works if DEBUG is defined.
Hace referencia a Aleph::preOrderRec().
La documentación para esta clase fue generada a partir del siguiente fichero: