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

一种高效求解无向稠密图中全对最小最大路径问题的实现

An efficient implementation for solving the all pairs minimax path problem in an undirected dense graph

Tsinghua University(清华大学)

Gangli Liu

AI总结:

本文提出并实现了首个在无向稠密图中以O(n^2)复杂度求解全对最小最大路径(最宽路径)距离矩阵的算法,实验验证其高效性。

摘要:

我们提供了一种高效的 $ O(n^2) $ 实现,用于求解无向稠密图中的全对最小最大路径问题或最宽路径问题。这是先前论文中算法4(通过计算和复制实现MMJ距离)的代码实现。距离矩阵也被称为全点路径距离(APPD)。我们进行了实验来测试该实现和算法,并将其与其他几种求解APPD矩阵的算法进行了比较。结果表明,算法4在求解最宽路径或最小最大路径APPD矩阵方面表现良好。它可以显著提高计算APPD矩阵的效率。有一些理论成果声称APPD矩阵可以在 $ O(n^2) $ 时间内精确求解。然而,这些成果不实用,因为没有这些算法的代码实现。算法4似乎是第一个在无向稠密图中以 $ O(n^2) $ 时间复杂度求解最小最大路径或最宽路径问题的APPD矩阵的实际代码实现的算法。

英文摘要:

We provide an efficient $ O(n^2) $ implementation for solving the all pairs minimax path problem or widest path problem in an undirected dense graph. It is a code implementation of the Algorithm 4 (MMJ distance by Calculation and Copy) in a previous paper. The distance matrix is also called the all points path distance (APPD). We conducted experiments to test the implementation and algorithm, compared it with several other algorithms for solving the APPD matrix. Result shows Algorithm 4 works good for solving the widest path or minimax path APPD matrix. It can drastically improve the efficiency for computing the APPD matrix. There are several theoretical outcomes which claim the APPD matrix can be solved accurately in $ O(n^2) $ . However, they are impractical because there is no code implementation of these algorithms. It seems Algorithm 4 is the first algorithm that has an actual code implementation for solving the APPD matrix of minimax path or widest path problem in $ O(n^2) $, in an undirected dense graph.

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

↑