An Optimal-Time Algorithm for Slope Selection
Richard J. Cole, Jeffrey S. Salowe, William Steiger et al. · SIAM Journal on Computing · 1989
Given n points in the plane and an integer k, the problem of selecting that pair of points that determines the line with the kth smallest or largest slope is considered. In the restricted case, where k is $O(n)$, line sweeping gives an optimal, $O(n\log n)$-time algorithm. For general k the parametric search technique of Megiddo is used to describe an $O(n(\log n)^2 )$-time algorithm. This is modified to produce a new, optimal $O(n\log n)$-time selection algorithm by incorporating an approximation idea.
Cited by 138 works. doi:10.1137/0218055
Authors
References
- Computational Geometry
- Time bounds for selection
- Algorithms for Reporting and Counting Geometric Intersections
- Sorting inc logn parallel steps
- Applying Parallel Computation Algorithms in the Design of Serial Algorithms
- Slowing down sorting networks to obtain faster sorting algorithms
- L-infinity interdistance selection by parametric search
- A linear selection algorithm for sets of elements with weights
- Selection problems in computational geometry