|
ADS
Algorithms and Data Structures
|
The interval tree as an augmented map, beyond the book. More...
Files | |
| file | ADS/geometry/IntervalTree.h |
| The interval tree as an augmented map, beyond the book: a multiset of closed intervals \( [ a , b ] \) of a totally ordered type, kept in a map [see JoinTree.h] whose keys are the pairs \( ( a , b ) \) in lexicographic order, whose values are their multiplicities, and whose augmentation is the largest right end of the subtree, \( \mathit{aug}( u ) = \max \{ b : ( a , b ) \in T_u \} \), the monoid of the maximum on the right ends, whose identity is no interval. | |
Classes | |
| class | ADS::IntervalTree< T > |
| a multiset of closed intervals of T with stabbing queries More... | |
The interval tree as an augmented map, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of geometry.