|
ADS
Algorithms and Data Structures
|
The RedBlackTree of Morin (chapter 9), a left-leaning red-black tree that simulates a 2-4 tree, beyond the book. More...
Files | |
| file | ADS/tree/LeftLeaningRedBlackTree.h |
| The RedBlackTree of Morin (chapter 9), a left-leaning red-black tree that simulates a 2-4 tree, beyond the book: a binary search tree whose nodes are red or black with the black-height property (every path from a node down to a nil crosses the same number of black nodes), the no-red-edge property (a red node has no red child) and the left-leaning property (if the left child of a node is black, so is the right one); nil and the root are black. | |
Classes | |
| class | ADS::LeftLeaningRedBlackTree< K, V > |
| a DICTIONARY on the left-leaning red-black tree of Morin, a simulated 2-4 tree More... | |
The RedBlackTree of Morin (chapter 9), a left-leaning red-black tree that simulates a 2-4 tree, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of trees.