English

Colored range closest-pair problem under general distance functions

Computational Geometry 2018-07-27 v1

Abstract

The range closest-pair (RCP) problem is the range-search version of the classical closest-pair problem, which aims to store a given dataset of points in some data structure such that when a query range XX is specified, the closest pair of points contained in XX can be reported efficiently. A natural generalization of the RCP problem is the {colored range closest-pair} (CRCP) problem in which the given data points are colored and the goal is to find the closest {bichromatic} pair contained in the query range. All the previous work on the RCP problem was restricted to the uncolored version and the Euclidean distance function. In this paper, we make the first progress on the CRCP problem. We investigate the problem under a general distance function induced by a monotone norm; in particular, this covers all the LpL_p-metrics for p>0p > 0 and the LL_\infty-metric. We design efficient (1+ε)(1+\varepsilon)-approximate CRCP data structures for orthogonal queries in R2\mathbb{R}^2, where ε>0\varepsilon>0 is a pre-specified parameter. The highlights are two data structures for answering rectangle queries, one of which uses O(ε1nlog4n)O(\varepsilon^{-1} n \log^4 n) space and O(log4n+ε1log3n+ε2logn)O(\log^4 n + \varepsilon^{-1} \log^3 n + \varepsilon^{-2} \log n) query time while the other uses O(ε1nlog3n)O(\varepsilon^{-1} n \log^3 n) space and O(log5n+ε1log4n+ε2log2n)O(\log^5 n + \varepsilon^{-1} \log^4 n + \varepsilon^{-2} \log^2 n) query time. In addition, we also apply our techniques to the CRCP problem in higher dimensions, obtaining efficient data structures for slab, 2-box, and 3D dominance queries. Before this paper, almost all the existing results for the RCP problem were achieved in R2\mathbb{R}^2.

Keywords

Cite

@article{arxiv.1807.09977,
  title  = {Colored range closest-pair problem under general distance functions},
  author = {Jie Xue},
  journal= {arXiv preprint arXiv:1807.09977},
  year   = {2018}
}
R2 v1 2026-06-23T03:14:57.942Z