一种改进的常系数近似算法求解平面可见性计数问题
An improved Constant-Factor Approximation Algorithm for Planar Visibility Counting Problem
摘要:
给定$\mathbb{R}^{2}$中$n$不相交线段的集合$S$,可见性计数问题(VCP)是对$S$进行预处理,使得从任何查询点$p$可见的$S$中的线段的数目可以被快速计算。利用$O(n^{4})$的时间和空间预处理,可以在对数查询时间内解决这个问题. Gudmundsson和Morin提出了一个2-近似算法来解决这个问题,在空间和查询时间之间进行了权衡。它们用预处理时间和空间的$O_ε(n^{2+2α})$回答$O_ε(n^{1-α})$中的任何查询,其中$α$是一个常数$0\leq α\leq 1$,$ε> 0$是另一个可以任意变小的常数,而$O_ε(f(n))=O(f(n)n^ε)$。在本文中,我们提出了一个随机近似算法的VCP与空间和查询时间之间的折衷。我们将证明,对于任意常数$0\leq β\leq \frac{2}{3}$和$0<δ<1$,我们的算法的期望预处理时间,期望空间和查询时间分别为$O(n^{4-3β}\log n)$,$O(n^{4-3β})$和$O(\frac{1}{δ^3}n^β\log n)$。如果$m_p\leq \frac{1}{δ^3}n^β\log n$满足,则该算法将从$p$或$m_p$计算可见段的数量。否则,它计算概率至少为$1-\frac{1}{\log n}$的$(1+δ)$近似$m'_p$,其中$m_p\leq m'_p\leq (1+δ)m_p$.
英文摘要:
Given a set $S$ of $n$ disjoint line segments in $\mathbb{R}^{2}$, the visibility counting problem (VCP) is to preprocess $S$ such that the number of segments in $S$ visible from any query point $p$ can be computed quickly. This problem can trivially be solved in logarithmic query time using $O(n^{4})$ preprocessing time and space. Gudmundsson and Morin proposed a 2-approximation algorithm for this problem with a tradeoff between the space and the query time. They answer any query in $O_ε(n^{1-α})$ with $O_ε(n^{2+2α})$ of preprocessing time and space, where $α$ is a constant $0\leq α\leq 1$, $ε> 0$ is another constant that can be made arbitrarily small, and $O_ε(f(n))=O(f(n)n^ε)$. In this paper, we propose a randomized approximation algorithm for VCP with a tradeoff between the space and the query time. We will show that for an arbitrary constants $0\leq β\leq \frac{2}{3}$ and $0<δ<1$, the expected preprocessing time, the expected space, and the query time of our algorithm are $O(n^{4-3β}\log n)$, $O(n^{4-3β})$, and $O(\frac{1}{δ^3}n^β\log n)$, respectively. The algorithm computes the number of visible segments from $p$, or $m_p$, exactly if $m_p\leq \frac{1}{δ^3}n^β\log n$. Otherwise, it computes a $(1+δ)$-approximation $m'_p$ with the probability of at least $1-\frac{1}{\log n}$, where $m_p\leq m'_p\leq (1+δ)m_p$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。