arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.07858cs.CGcs.DS
收藏

Yao图的有效构造

Efficient Yao Graph Construction

Daniel Funke, Peter Sanders

摘要:

Yao图是将给定点集的每个点连接到围绕它的每个$k$锥中的最近邻点的几何空间,Yao图被用来构造$d$维空间中的最小生成树.此外,它们例如用于无线网络中的拓扑控制。一个最佳的\Onlogn时间算法来构造姚图给定的点集已在文献中提出,但-据我们所知-从来没有实现。相反,在流行的软件包中使用具有二次复杂度的算法来构建这些图。在本文中,我们提出了最佳姚图算法的第一个实现。我们开发和调整所需的数据结构,以实现O(n log n)的界限和详细的算法适应必要的原始算法从理论到实践。我们提出了一个优先级队列数据结构,分离静态和动态事件,并可能是其他sweepline算法的独立利益。此外,我们提出了一个新的姚图算法的基础上,一个统一的网格数据结构,表现良好的中型输入。我们在各种各样的合成和真实世界的数据集上评估了我们的实现,并表明我们的实现至少比当前公开的实现好一个数量级。

英文摘要:

Yao graphs are geometric spanners that connect each point of a given point set to its nearest neighbor in each of $k$ cones drawn around it. Yao graphs were introduced to construct minimum spanning trees in $d$ dimensional spaces. Moreover, they are used for instance in topology control in wireless networks. An optimal \Onlogn time algorithm to construct Yao graphs for given point set has been proposed in the literature but -- to the best of our knowledge -- never been implemented. Instead, algorithms with a quadratic complexity are used in popular packages to construct these graphs. In this paper we present the first implementation of the optimal Yao graph algorithm. We develop and tune the data structures required to achieve the O(n log n) bound and detail algorithmic adaptions necessary to take the original algorithm from theory to practice. We propose a priority queue data structure that separates static and dynamic events and might be of independent interest for other sweepline algorithms. Additionally, we propose a new Yao graph algorithm based on a uniform grid data structure that performs well for medium-sized inputs. We evaluate our implementations on a wide variety synthetic and real-world datasets and show that our implementation outperforms current publicly available implementations by at least an order of magnitude.

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

↑