知识卡片

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

边松弛仅在改进时更新

理解等级:中级

松弛边(u,v)时,若 u.d+w(u,v),就把 v.d 降为该值并把 v 的前驱设为 u;否则不变。

每次松弛 O(1),各算法差别在松弛顺序和次数。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

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

      The process of relaxing an edge (u, v) consists of testing whether going through vertex u improves the shortest path to vertex v found so far and, if so, updating v.d and v.π. A relaxation step might decrease the

    参考来源

    - 位置:《算法导论(第4版)》第22章《单源最短路径》(OEBPS/chapter022.xhtml,文本字符[10000,15000))。 - 结论依据:原文伪代码与图22.3展示改进和未改进两种情况。 - 原始内容:The process of relaxing an edge ( u , v ) consists of testing whether going through vertex u improves the shortest path to vertex v found so far and, if so, updating v.d and v .π. A relaxation step might decrease the