|
ADS
Algorithms and Data Structures
|
The TREE, the binary trees, the search trees and the B-trees. More...
Topics | |
| Theory of trees | |
| ArrayBinaryTree.h | |
| A binary tree in a positional vector, beyond the book. | |
| AVLTree.h | |
| The AVL tree of Adelson-Velsky and Landis, beyond the book. | |
| BinaryTree.h | |
| The binary TREE of the book. | |
| BinaryTreeAlgorithms.h | |
| The classic problems on binary trees and on binary search trees, written once for any representation of the nodes. | |
| BPlusTree.h | |
| The B+-tree of order \( m \) of the reality check of chapter 6, the search tree of the file systems and of the databases, whose nodes are pages of the secondary memory. | |
| BTree.h | |
| The B-tree of Bayer and McCreight, beyond the book. | |
| BTreeMap.h | |
| An ordered map on a B+-tree in main memory, beyond the book. | |
| ChildListTree.h | |
| An ordered tree realized with lists of children, beyond the book. | |
| CursorBinaryTree.h | |
| A binary tree with cursors, beyond the book. | |
| CursorTree.h | |
| An ordered tree with cursors, beyond the book. | |
| ExpressionTree.h | |
| The tree of an arithmetic expression (the parse tree), beyond the book. | |
| FingerTreap.h | |
| The treap with finger search of exercise 7.9 of Morin, beyond the book. | |
| HashedTreap.h | |
| The treap that stores no priorities (exercise 7.6 of Morin), beyond the book. | |
| HeapByInsertion.h | |
| The max-heap on a vector built by insertions, the construction of Williams, beside the bottom-up one of Floyd. | |
| JoinAlgorithms.h | |
| The balanced binary search trees whose only balancing operation is join, beyond the book, and the operations on ordered sets and maps built on it, sequential and parallel. | |
| JoinTree.h | |
| The binary search trees balanced by join alone, and the augmented maps, beyond the book. | |
| LeftLeaningRedBlackTree.h | |
| The RedBlackTree of Morin (chapter 9), a left-leaning red-black tree that simulates a 2-4 tree, beyond the book. | |
| LinkCutTree.h | |
| The link-cut trees of Sleator and Tarjan, beyond the book. | |
| MaterializedAggregate.h | |
| The aggregate of a structure kept by its events, beyond the book. | |
| MeasuredSearchTree.h | |
| The binary search tree of Morin whose nodes keep the size, the depth and the height of their subtree (exercise 6.19 of Morin), beyond the book. | |
| ParentTree.h | |
| The tree as a vector of parents. | |
| PartialRebuildingTree.h | |
| Three trees balanced by partial rebuilding, from exercises 8.8 to 8.10 of Morin, beyond the book. | |
| PreorderArrayTree.h | |
| An ordered tree in a vector in preorder, beyond the book. | |
| RandomizedSearchTree.h | |
| The randomized binary search tree of MartÃnez and Roura (exercise 7.14 of Morin), beyond the book. | |
| ScapegoatTree.h | |
| The scapegoat tree of Galperin and Rivest, the general balanced tree of Andersson (section 8.1 of Morin), beyond the book. | |
| SearchTree.h | |
| The binary search tree (ABR) and the Red-Black tree of the book, as a DICTIONARY from keys to values. | |
| SplayTree.h | |
| The splay tree of Sleator and Tarjan, beyond the book. | |
| ThreadedTree.h | |
| The threaded binary search tree of Perlis and Thornton, beyond the book. | |
| Treap.h | |
| The treap of Seidel and Aragon, beyond the book. | |
| Tree.h | |
| The ordered TREE of the book, realized with pointers to the parent, to the first child and to the next sibling, and its visits. | |
The TREE, the binary trees, the search trees and the B-trees.
The definitions, the invariants and the costs of the area are in Theory of trees.