|
ADS
Algorithms and Data Structures
|
Three trees balanced by partial rebuilding, from exercises 8.8 to 8.10 of Morin, beyond the book. More...
Files | |
| file | ADS/tree/PartialRebuildingTree.h |
| Three trees balanced by partial rebuilding, from exercises 8.8 to 8.10 of Morin, beyond the book: binary search trees whose insertions and removals are those of the plain tree, followed by the rebuilding of the subtree of the highest node of the path that a rule selects into a perfectly balanced one [see ScapegoatTree.h for the rebuild]. | |
Classes | |
| class | ADS::PartialRebuildingTree< K, V, P > |
| a DICTIONARY on a binary search tree balanced by partial rebuilding by the rule P More... | |
Typedefs | |
| template<std::totally_ordered K, class V> | |
| using | ADS::WeightRebuildTree |
| the tree of exercise 8.8 of Morin, balanced by weight by rebuilds | |
| template<std::totally_ordered K, class V> | |
| using | ADS::CountdownTree |
| the CountdownTree of exercise 8.9 of Morin | |
| template<std::totally_ordered K, class V> | |
| using | ADS::DynamiteTree = PartialRebuildingTree< K , V , RebuildPolicy::DYNAMITE > |
| the DynamiteTree of exercise 8.10 of Morin | |
Enumerations | |
| enum class | ADS::RebuildPolicy { ADS::RebuildPolicy::WEIGHT , ADS::RebuildPolicy::COUNTDOWN , ADS::RebuildPolicy::DYNAMITE } |
| the rules that select the subtree to rebuild More... | |
Three trees balanced by partial rebuilding, from exercises 8.8 to 8.10 of Morin, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of trees.
| using ADS::CountdownTree |
the CountdownTree of exercise 8.9 of Morin
| using ADS::DynamiteTree = PartialRebuildingTree< K , V , RebuildPolicy::DYNAMITE > |
the DynamiteTree of exercise 8.10 of Morin
| using ADS::WeightRebuildTree |
the tree of exercise 8.8 of Morin, balanced by weight by rebuilds
|
strong |