知识卡片

普通读书笔记卡 · 3645.i.5

Floyd状态限制中间顶点

理解等级:中级

Floyd-Warshall 的 D^(k)[i,j] 只允许编号不大于 k 的点作为 i→j 路径的中间顶点。

中间顶点不包括路径起点和终点;逐步放宽 k 最终覆盖所有路径。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《算法导论(第4版)》第23章《所有结点对的最短路径》(OEBPS/chapter023.xhtml,文本字符[15000,20000))。 - 结论依据:原文定义中间顶点及前 k 个可用顶点;图23.3分解经 k 的路径。 - 原始内容:In the Floyd-Warshall algorithm, we characterize the structure of a shortest path differently from how we characterized it in Section 23.1 . The Floyd-Warshall algorithm considers the intermediate vertices of a shortest path,