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

Bellman-Ford算法的随机加速比

Randomized Speedup of the Bellman-Ford Algorithm

Michael J. Bannister, David Eppstein

摘要:

我们描述了一个变体的贝尔曼-福特算法的单源最短路径的负边,但没有负循环,随机置换的顶点,并使用这种随机顺序来处理的顶点内的每一个通过的算法的图。与Yen(1970)以前的最佳变体相比,该修改以高概率将算法的最差情况预期松弛步骤数减少了2/3。我们还使用我们的高概率界添加负循环检测的随机算法。

英文摘要:

We describe a variant of the Bellman-Ford algorithm for single-source shortest paths in graphs with negative edges but no negative cycles that randomly permutes the vertices and uses this randomized order to process the vertices within each pass of the algorithm. The modification reduces the worst-case expected number of relaxation steps of the algorithm, compared to the previously-best variant by Yen (1970), by a factor of 2/3 with high probability. We also use our high probability bound to add negative cycle detection to the randomized algorithm.

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

↑