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

中位数图上的拟线性时间离心率计算及更多内容

Quasilinear-time eccentricities computation, and more, on median graphs

Pierre Bergé, Guillaume Ducoffe, Michel Habib

AI总结:

针对中位数图,提出一种基于其结构性质的新型递归算法,在拟线性时间O(n log^4 n)内计算所有离心率,并构建了兼具多对数规模和查询时间的距离预言机。

摘要:

计算无向图的直径,以及更一般地计算所有离心率,是算法图论中的一个重要问题,其挑战在于识别出能在次二次时间内完成计算的图类。利用基于中位数图结构性质的新型递归方案,我们为这一著名的图族提供了一种确定所有离心率的拟线性时间算法。我们的递归技术专门处理中位数图的 $Θ$-类分解中的平衡和非平衡部分。我们算法的精确运行时间为 O(n log^4 n)。这一结果不仅回答了 B{é}n{é}teau 等人(2020年)提出的问题,而且极大地改进了最近的一项针对同一问题、运行时间为 O(n^1.6408 log^{O(1)} n) 的组合算法结果。此外,我们还为中位数图提出了一种兼具多对数规模和查询时间的距离预言机。严格来说,我们提供了一种组合算法,对于任意中位数图 G,能在拟线性时间 O(n log^4 n) 内计算出大小为 O(log^3 n) 的顶点标签,使得借助这些标签可以在 O(log^4 n) 时间内检索出 G 的任意距离。

英文摘要:

Computing the diameter, and more generally, all eccentricities of an undirected graph is an important problem in algorithmic graph theory and the challenge is to identify graph classes for which their computation can be achieved in subquadratic time. Using a new recursive scheme based on the structural properties of median graphs, we provide a quasilinear-time algorithm to determine all eccentricities for this well-known family of graphs. Our recursive technique manages specifically balanced and unbalanced parts of the $Θ$-class decomposition of median graphs. The exact running time of our algorithm is O(n log^4 n). This outcome not only answers a question asked by B{é}n{é}teau et al. (2020) but also greatly improves a recent result which presents a combinatorial algorithm running in time O(n^1.6408 log^{O(1)} n) for the same problem.Furthermore we also propose a distance oracle for median graphs with both polylogarithmic size and query time. Speaking formally, we provide a combinatorial algorithm which computes for any median graph G, in quasilinear time O(n log^4 n), vertex-labels of size O(log^3 n) such that any distance of G can be retrieved in time O(log^4 n) thanks to these labels.

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

↑