ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
Geometry

The convex hull, the closest pair, the interval tree and the range tree. More...

Topics

 Theory of geometry
 ClosestPair.h
 The closest pair of a set \( P \) of \( n \ge 2 \) points of the plane, the two points at the least Euclidean distance, by divide et impera in \( O( n \log n ) \) time, against the \( \Theta( n^2 ) \) of the comparison of all the pairs (closestPairBrute()).
 ConvexHull.h
 The convex hull of a set \( P \) of \( n \) points of the plane (section 16.1), the smallest convex polygon that contains them, as its vertices in counterclockwise order.
 IntervalTree.h
 The interval tree as an augmented map, beyond the book.
 RangeTree.h
 The two-dimensional range tree of Bentley as an augmented map, beyond the book.

Detailed description

The convex hull, the closest pair, the interval tree and the range tree.

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