|
ADS
Algorithms and Data Structures
|
The binary search tree (ABR) and the Red-Black tree of the book, as a DICTIONARY from keys to values. More...
Files | |
| file | ADS/tree/SearchTree.h |
| The binary search tree (ABR) and the Red-Black tree of the book, as a DICTIONARY [see ADT.h] from keys to values. | |
Classes | |
| struct | ADS::SearchTreeNodes< K, V, RB > |
| the adaptor of the nodes of a Red-Black tree [see JoinAdaptor] More... | |
| struct | ADS::NotJoinable |
| the base of a binary search tree that is not balanced: no operation based on join, whose recursion would be as deep as the tree More... | |
| class | ADS::SearchTree< K, V, RB > |
| a binary search tree, balanced as a Red-Black tree if RB, and then with the operations based on join [see Joinable] More... | |
Typedefs | |
| template<std::totally_ordered K, class V> | |
| using | ADS::BinarySearchTree = SearchTree< K , V , false > |
| the binary search tree (ABR) of section 6.1 | |
| template<std::totally_ordered K, class V> | |
| using | ADS::RedBlackTree = SearchTree< K , V , true > |
| the Red-Black tree of section 6.2 | |
Enumerations | |
| enum class | ADS::Color : unsigned char { ADS::Color::RED , ADS::Color::BLACK } |
| the color of a node of a Red-Black tree More... | |
The binary search tree (ABR) and the Red-Black tree of the book, as a DICTIONARY from keys to values.
The definitions, the invariants and the costs of the area are in Theory of trees.
| using ADS::BinarySearchTree = SearchTree< K , V , false > |
the binary search tree (ABR) of section 6.1
| using ADS::RedBlackTree = SearchTree< K , V , true > |
the Red-Black tree of section 6.2
|
strong |