当前位置: X-MOL 学术arXiv.cs.CG › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Space Efficient Two-Dimensional Orthogonal Colored Range Counting
arXiv - CS - Computational Geometry Pub Date : 2021-07-06 , DOI: arxiv-2107.02787
Younan Gao, Meng He

In the two-dimensional orthogonal colored range counting problem, we preprocess a set, $P$, of $n$ colored points on the plane, such that given an orthogonal query rectangle, the number of distinct colors of the points contained in this rectangle can be computed efficiently. For this problem, we design three new solutions, and the bounds of each can be expressed in some form of time-space tradeoff. By setting appropriate parameter values for these solutions, we can achieve new specific results with (the space are in words and $\epsilon$ is an arbitrary constant in $(0,1)$): ** $O(n\lg^3 n)$ space and $O(\sqrt{n}\lg^{5/2} n \lg \lg n)$ query time; ** $O(n\lg^2 n)$ space and $O(\sqrt{n}\lg^{4+\epsilon} n)$ query time; ** $O(n\frac{\lg^2 n}{\lg \lg n})$ space and $O(\sqrt{n}\lg^{5+\epsilon} n)$ query time; ** $O(n\lg n)$ space and $O(n^{1/2+\epsilon})$ query time. A known conditional lower bound to this problem based on Boolean matrix multiplication gives some evidence on the difficulty of achieving near-linear space solutions with query time better than $\sqrt{n}$ by more than a polylogarithmic factor using purely combinatorial approaches. Thus the time and space bounds in all these results are efficient. Previously, among solutions with similar query times, the most space-efficient solution uses $O(n\lg^4 n)$ space to answer queries in $O(\sqrt{n}\lg^8 n)$ time (SIAM. J. Comp.~2008). Thus the new results listed above all achieve improvements in space efficiency, while all but the last result achieve speed-up in query time as well.

中文翻译:

空间高效的二维正交彩色范围计数

在二维正交彩色范围计数问题中,我们对平面上的 $n$ 个彩色点的集合 $P$ 进行预处理,使得给定一个正交查询矩形,该矩形中包含的点的不同颜色的数量可以高效计算。对于这个问题,我们设计了三个新的解决方案,每个解决方案的边界都可以用某种形式的时空权衡来表示。通过为这些解决方案设置适当的参数值,我们可以获得新的特定结果(空格在单词中,$\epsilon$ 是 $(0,1)$ 中的任意常数):** $O(n\lg^ 3 n)$空间和$O(\sqrt{n}\lg^{5/2} n \lg \lg n)$查询时间;** $O(n\lg^2 n)$空间和$O(\sqrt{n}\lg^{4+\epsilon} n)$查询时间;** $O(n\frac{\lg^2 n}{\lg \lg n})$ 空间和 $O(\sqrt{n}\lg^{5+\epsilon} n)$ 查询时间;** $O(n\lg n)$ 空间和 $O(n^{1/2+\epsilon})$ 查询时间。基于布尔矩阵乘法的这个问题的已知条件下限提供了一些证据,证明使用纯组合方法实现接近线性空间解决方案的难度比 $\sqrt{n}$ 的查询时间要好于多对数因子。因此,所有这些结果中的时间和空间界限都是有效的。以前,在具有相似查询时间的解决方案中,最节省空间的解决方案使用 $O(n\lg^4 n)$ 空间在 $O(\sqrt{n}\lg^8 n)$ 时间(SIAM .J. Comp.~2008)。因此,上面列出的新结果都实现了空间效率的提高,而除了最后一个结果之外的所有结果都实现了查询时间的加速。基于布尔矩阵乘法的这个问题的已知条件下限提供了一些证据,证明使用纯组合方法实现接近线性空间解决方案的难度比 $\sqrt{n}$ 的查询时间要好于多对数因子。因此,所有这些结果中的时间和空间界限都是有效的。以前,在具有相似查询时间的解决方案中,最节省空间的解决方案使用 $O(n\lg^4 n)$ 空间在 $O(\sqrt{n}\lg^8 n)$ 时间(SIAM .J. Comp.~2008)。因此,上面列出的新结果都实现了空间效率的提高,而除了最后一个结果之外的所有结果都实现了查询时间的加速。基于布尔矩阵乘法的这个问题的已知条件下限提供了一些证据,证明使用纯组合方法实现接近线性空间解决方案的难度比 $\sqrt{n}$ 的查询时间要好于多对数因子。因此,所有这些结果中的时间和空间界限都是有效的。以前,在查询时间相似的解决方案中,最节省空间的解决方案使用 $O(n\lg^4 n)$ 空间在 $O(\sqrt{n}\lg^8 n)$ 时间(SIAM .J. Comp.~2008)。因此,上面列出的新结果都实现了空间效率的提高,而除了最后一个结果之外的所有结果都实现了查询时间的加速。因此,所有这些结果中的时间和空间界限都是有效的。以前,在具有相似查询时间的解决方案中,最节省空间的解决方案使用 $O(n\lg^4 n)$ 空间在 $O(\sqrt{n}\lg^8 n)$ 时间(SIAM .J. Comp.~2008)。因此,上面列出的新结果都实现了空间效率的提高,而除了最后一个结果之外的所有结果都实现了查询时间的加速。因此,所有这些结果中的时间和空间界限都是有效的。以前,在具有相似查询时间的解决方案中,最节省空间的解决方案使用 $O(n\lg^4 n)$ 空间在 $O(\sqrt{n}\lg^8 n)$ 时间(SIAM .J. Comp.~2008)。因此,上面列出的新结果都实现了空间效率的提高,而除了最后一个结果之外的所有结果都实现了查询时间的加速。
更新日期:2021-07-07
down
wechat
bug