Given a dataset $S$ of points in $\mathbb{R}^2$, the range closest-pair (RCP) problem aims to preprocess $S$ into a data structure such that when a query range $X$ is specified, the closest-pair in $S \cap X$ can be reported efficiently. The RCP problem can be viewed as a range-search version of the classical closest-pair problem, and finds applications in many areas. Due to its non-decomposability, the RCP problem is much more challenging than many traditional range-search problems. This paper revisits the RCP problem, and proposes new data structures for various query types including quadrants, strips, rectangles, and halfplanes. Both worst-case and average-case analyses (in the sense that the data points are drawn uniformly and independently from the unit square) are applied to these new data structures, which result in new bounds for the RCP problem. Some of the new bounds significantly improve the previous results, while the others are entirely new.
Colored range closest-pair problem under general distance functions
范围最近对(RCP)问题是经典最近对问题的范围搜索版本,其目的是将给定的点数据集存储在某种数据结构中,使得当指定查询范围$X$时,$X$中包含的最近点对可以被有效地报告。RCP问题的一个自然推广是{有色范围最近对}(CRCP)问题,其中给定的数据点是有色的,目标是找到查询范围中包含的最接近的{双色}对。所有以前的工作都局限于RCP问题的无色版本和欧几里德距离函数。本文对CRCP问题进行了初步的研究。我们调查的问题下,一般的距离函数引起的单调规范,特别是,这涵盖了所有的$L_p$度量$p > 0$和$L_\infty$度量。我们设计了高效的$(1+\varepsilon)$ -近似CRCP数据结构的正交查询在$\mathbb{R}^2$,其中$\varepsilon>0$是一个预先指定的参数。重点是用于回答矩形查询的两种数据结构,其中一种使用$O(\varepsilon^{-1} n \log^4 n)$空间和$O(\log^4 n + \varepsilon^{-1} \log^3 n + \varepsilon^{-2} \log n)$查询时间,而另一种使用$O(\varepsilon^{-1} n \log^3 n)$空间和$O(\log^5 n + \varepsilon^{-1} \log^4 n + \varepsilon^{-2} \log^2 n)$查询时间。此外,…
An Optimized Divide-and-Conquer Algorithm for the Closest-Pair Problem in the Planar Case
我们提出了一个工程版本的分而治之的算法,找到最接近的一对点,在一组给定的点在XY平面。对于这个版本的算法,我们表明,只有两个成对的比较,需要在结合步骤中,每个点,在于2三角洲宽的垂直板。算法的正确性示出了所有的Minkowski距离与p>=1。我们还表明,经验,虽然该算法的时间复杂度仍然是O(n lg n),减少比较的总数导致显着减少的总执行时间,输入的大小足够大。
Closest Pair Queries in Vertical Slabs and Tight Bounds on the Number of Possible Answers
School of Computer Science, University of Windsor(温莎大学计算机学院);School of Computer Science, Carleton University(卡尔顿大学计算机学院);Department of Computer Science and Engineering, Pohang University of Science and Technology(浦项科技大学计算机科学与工程系);School of Electrical Engineering and Computer Science, University of Ottawa(渥太华大学电气与计算机工程学院);Department of Computer Science, Université libre de Bruxelles(布鲁塞尔自由大学计算机系);Department of Mathematics, California State University Northridge(加州州立大学北岭分校数学系);Department of Computer Science, Tufts University(塔夫茨大学计算机系)