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

R中所有对最短路问题的期望情形次立方解

An expected-case sub-cubic solution to the all-pairs shortest path problem in R

Julian J. McAuley, Tibério S. Caetano

摘要:

Alon等人已经证明,对于顶点数为V的图,所谓的“所有对最短路径”问题可以在O((MV)^2.688 * log^3(V))内解决,整数距离以M为界。我们解决了R中图的更一般的问题(假设没有负圈),预期情况下的运行时间为O(V^2.5 * log(V))。虽然我们的结果似乎违反了“滑稽矩阵乘法”(由于克尔)的欧米茄(V^3)要求,但我们发现它具有受数据分布合理条件约束的次立方期望时间解。当某些子问题不相关时,会出现期望时间解,尽管我们可以在正相关/负相关下(分别)比期望情况做得更好/更差。我们是否观察到正相关/负相关取决于所讨论的图的统计数据。在实践中,我们的算法是显着快于Floor-Warshall,即使是密集图。

英文摘要:

It has been shown by Alon et al. that the so-called 'all-pairs shortest-path' problem can be solved in O((MV)^2.688 * log^3(V)) for graphs with V vertices, with integer distances bounded by M. We solve the more general problem for graphs in R (assuming no negative cycles), with expected-case running time O(V^2.5 * log(V)). While our result appears to violate the Omega(V^3) requirement of "Funny Matrix Multiplication" (due to Kerr), we find that it has a sub-cubic expected time solution subject to reasonable conditions on the data distribution. The expected time solution arises when certain sub-problems are uncorrelated, though we can do better/worse than the expected-case under positive/negative correlation (respectively). Whether we observe positive/negative correlation depends on the statistics of the graph in question. In practice, our algorithm is significantly faster than Floyd-Warshall, even for dense graphs.

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

↑