arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1712.06431cs.CG
收藏

计算欧氏最小生成树的时空权衡

Time-Space Trade-Offs for Computing Euclidean Minimum Spanning Trees

Bahareh Banyassady, Luis Barba, Wolfgang Mulzer

摘要:

我们提出的时间-空间权衡计算的欧氏最小生成树的一组$S$的$n$点的网站在平面上。更准确地说,我们假设$S$驻留在只能读取的随机存取存储器中。欧几里德最小生成树$\text{EMST}(S)$的边必须按顺序报告,并且之后不能访问或修改它们。有一个参数$s \in \{1, \dots, n\}$,使得算法可以使用读写存储器的$O(s)$单元(称为工作空间)进行计算。我们的目标是找到一个算法,具有最佳的运行时间为任何给定的$s$之间的$1$和$n$。我们展示了如何计算$\text{EMST}(S)$在$O\big((n^3/s^2)\log s \big)$时间与$O(s)$细胞的工作空间,给出了一个平滑的权衡之间的两个最知名的界限$O(n^3)$为$s = 1$和$O(n \log n)$为$s = n$。为此,我们在$S$的相对邻域图(RNG)上运行Kruskal算法。$\text{RNG}(S)$的最小生成树就是$\text{EMST}(S)$,这是一个经典的事实.为了实现Kruskal的算法与工作空间的$O(s)$细胞,我们定义$s$ -网,平面图的紧凑表示。这允许我们在插入边时有效地维护和更新当前最小生成森林的组件。

英文摘要:

We present time-space trade-offs for computing the Euclidean minimum spanning tree of a set $S$ of $n$ point-sites in the plane. More precisely, we assume that $S$ resides in a random-access memory that can only be read. The edges of the Euclidean minimum spanning tree $\text{EMST}(S)$ have to be reported sequentially, and they cannot be accessed or modified afterwards. There is a parameter $s \in \{1, \dots, n\}$ so that the algorithm may use $O(s)$ cells of read-write memory (called the workspace) for its computations. Our goal is to find an algorithm that has the best possible running time for any given $s$ between $1$ and $n$. We show how to compute $\text{EMST}(S)$ in $O\big((n^3/s^2)\log s \big)$ time with $O(s)$ cells of workspace, giving a smooth trade-off between the two best known bounds $O(n^3)$ for $s = 1$ and $O(n \log n)$ for $s = n$. For this, we run Kruskal's algorithm on the relative neighborhood graph (RNG) of $S$. It is a classic fact that the minimum spanning tree of $\text{RNG}(S)$ is exactly $\text{EMST}(S)$. To implement Kruskal's algorithm with $O(s)$ cells of workspace, we define $s$-nets, a compact representation of planar graphs. This allows us to efficiently maintain and update the components of the current minimum spanning forest as the edges are being inserted.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑