ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
RangeTree.h

The two-dimensional range tree of Bentley as an augmented map, beyond the book. More...

Files

file  ADS/geometry/RangeTree.h
 The two-dimensional range tree of Bentley as an augmented map, beyond the book: a multiset of points \( ( x , y ) \) of the plane, kept in a map [see JoinTree.h] whose keys are the points in lexicographic order, whose values are their multiplicities, and whose augmentation is the sorted sequence of the ordinates of the subtree, with their copies: the monoid of the sorted sequences under the merge, whose identity is the empty sequence.

Classes

class  ADS::RangeTree< T >
 a multiset of points of \( T \times T \), with the count of the points of a rectangle More...

Detailed description

The two-dimensional range tree of Bentley as an augmented map, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of geometry.