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

基于Boruvka树的最小树路径查询

Tree Path Minimum Query Oracle via Boruvka Trees

Tianqi Yang

摘要:

树路径最小查询问题是树处理中的一个基本问题,在最小生成树验证和随机最小生成树算法中有着广泛的应用。在本文中,我们研究的可能性,建立一个预言机,这是能够有效地回答查询。我们提出了一种基于Boruvka树的算法。我们的算法是第一个实现查询时间上的接近最优的界限,同时匹配当前最佳的构建时间和查询时所需的比较次数之间的权衡。特别地,为了回答$2k$比较中的每个查询,我们的算法需要$O(n \log λ_k(n))$时间和空间来构造预言机,并且预言机可以在$O(k + \log λ_k(n))$时间内回答查询。这里,$λ_k(n)$是沿第$k$列的Ackermann函数的逆。该算法不仅比以往的算法简单,而且给出了一种完全不同的求解方法。

英文摘要:

Tree path minimum query problem is a fundamental problem while processing trees, and is used widely in minimum spanning tree verification and randomized minimum spanning tree algorithms. In this paper, we study the possibility of building an oracle in advance, which is able to answer the queries efficiently. We present an algorithm based on Boruvka trees. Our algorithm is the first to achieve a near-optimal bound on query time, while matching the currently optimal trade-off between construction time and the number of comparisons required at query. Particularly, in order to answer each query within $2k$ comparisons, our algorithm requires $O(n \log λ_k(n))$ time and space to construct the oracle, and the oracle can answer queries in $O(k + \log λ_k(n))$ time. Here $λ_k(n)$ is the inverse of the Ackermann function along the $k$-th column. This algorithm not only is simpler than the previous ones, but also gives a completely different method of solving this problem.

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

↑