知识卡片

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

Dijkstra用堆逐点定距

理解等级:中级

算法维护已确定最短权的集合 S,以及按估计值排序的未确定队列 Q。

每轮提取最小估计顶点加入 S,并松弛其出边;降键使队列反映新估计。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

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

      Instead, Dijkstra’s algorithm maintains a set S of vertices whose final shortest-path weights from the source s have already been determined. The algorithm repeatedly selects the vertex u ∈ V – S with the minimum

    参考来源

    - 位置:《算法导论(第4版)》第22章《单源最短路径》(OEBPS/chapter022.xhtml,文本字符[30000,35000))。 - 结论依据:原文伪代码包含EXTRACT-MIN、加入S、出边松弛与DECREASE-KEY。 - 原始内容:Instead, Dijkstra’s algorithm maintains a set S of vertices whose final shortest-path weights from the source s have already been determined. The algorithm repeatedly selects the vertex u ∈ V – S with the minimum