知识卡片

普通读书笔记卡 · 3645.c

最短路径树保留源到各点路径

理解等级:中级

最短路径树包含所有源点可达顶点;它是以源点为根的有向树,树中到每个顶点的唯一路径都是原图中的最短路径。

最短路径有并列时,树也可能不唯一。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

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

      Ashortest-paths tree rooted at s is a directed subgraph G′ = (V′, E′), where V′ ⊆ V and E′ ⊆ E, such that V′ is the set of vertices reachable from s in G, G′ forms a rooted tree with root s, and for all v ∈

    参考来源

    - 位置:《算法导论(第4版)》第22章《单源最短路径》(OEBPS/chapter022.xhtml,文本字符[10000,15000))。 - 结论依据:原文列出可达顶点、根树与每条树路径最短三个条件,图22.2给出两棵树。 - 原始内容:A shortest-paths tree rooted at s is a directed subgraph G ′ = ( V ′, E ′), where V ′ ⊆ V and E ′ ⊆ E , such that V ′ is the set of vertices reachable from s in G , G ′ forms a rooted tree with root s , and for all v ∈