Abstract
In this paper we present an improved algorithm for finding k closest (farthest) points for a given arbitrary query segment. We show how to preprocess a planar set P of n given points in O (n2 log n) expected time (or, alternatively, in O (n2 log2 n) deterministic time) and a subquadratic space, in order to report k closest points to an arbitrary given query line segment in O (k + log2 n log log n) time. Here, for the first time, the data structure that provides polylogarithmic query time and uses subquadratic space is presented. We also show an algorithm for reporting the k farthest points from an arbitrary given query line segment.
Original language | English |
---|---|
Pages (from-to) | 294-300 |
Number of pages | 7 |
Journal | Theoretical Computer Science |
Volume | 393 |
Issue number | 1-3 |
DOIs | |
State | Published - 20 Mar 2008 |
Keywords
- Computational geometry
- Data structure
- Segment dragging problem
ASJC Scopus subject areas
- Theoretical Computer Science
- General Computer Science