知识卡片

普通读书笔记卡 · 3645.d.1.b.2

BF负环检验的求和反证

理解等级:中级

若负权环仍通过末轮全部边的松弛不等式,把环上不等式求和后顶点估计相互抵消,得到环总权非负,与负权环矛盾。

因此可改善边说明存在可达负环。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第22章 单源最短路径 · 查看原书依据

      Theorem 22.4 (Correctness of the Bellman-Ford algorithm) Let BELLMAN-FORD be run on a weighted, directed graph G = (V, E) with source vertex s and weight function w : E → ℝ. If G contains no negative-weight cycles that

    参考来源

    - 位置:《算法导论(第4版)》第22章《单源最短路径》(OEBPS/chapter022.xhtml,文本字符[20000,25000))。 - 结论依据:定理22.4在负环情形把各边估计不等式求和,和负权总和小于零矛盾。 - 原始内容:Theorem 22.4 (Correctness of the Bellman-Ford algorithm) Let B ELLMAN -F ORD be run on a weighted, directed graph G = ( V , E ) with source vertex s and weight function w : E → ℝ . If G contains no negative-weight cycles that