Let $S$ be a set of $n$ weighted points in the plane and let $R$ be a query range in the plane. In the range closest pair problem, we want to report the closest pair in the set $R \cap S$. In the range minimum weight problem, we want to report the minimum weight of any point in the set $R \cap S$. We show that these two query problems are equivalent for query ranges that are squares, for data structures having $Ω(\log n)$ query times. As a result, we obtain new data structures for range closest pair queries with squares.
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)$查询时间。此外,…
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(塔夫茨大学计算机系)
Down the Rabbit Hole: Robust Proximity Search and Density Estimation in Sublinear Space
对于$\Re^d$中的一组$n$点,以及参数$k$和$\eps$,我们提出了一种数据结构,可以在对数时间内回答$(1+\eps,k)$ - \ANN查询。令人惊讶的是,数据结构使用的空间是$\Otilde (n /k)$ ;也就是说,如果$k$足够大,则所使用的空间在输入大小上是次线性的。我们的方法提供了一种新的方式来总结几何数据,这样有意义的接近查询的数据可以使用这个草图。使用这一点,我们提供了一个次线性空间数据结构,可以估计密度的点集下的各种措施,包括:\begin{inparaenum}[(i)] \item sum of distances of $k$ closest points to the query point, and \item sum of squared distances of $k$ closest points to the query point. \end{inparaenum}我们的方法推广到其他距离为基础的估计密度相似的味道。我们还研究了使用采样时近似这些数量的问题。特别是,我们表明,一个样本的大小$\Otilde (n /k)$是足够的,在某些限制的情况下,估计上述数量。值得注意的是,样本量与维度只有线性关系。