知识卡片

普通读书笔记卡 · 3649.e

无权最短路距离数边数

理解等级:初级
  • 无权图中 δ(s,v) 是 s 到 v 的路径中最少的边数;
  • 若 v 不可达,距离为无穷。

它是 BFS 的目标值,与带权图的最小权重和不同。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第20章 基本图算法 · 查看原书依据

      Define the shortest-path distance δ(s, v) from s to v as the minimum number of edges in any path from vertex s to vertex v. If there is no path from s to v, then δ(s, v) = ∞. We call a path of length δ(s, v) from s to v a shortest path2 from s to v.

    参考来源

    - 位置:《算法导论(第4版)》第20章《基本图算法》(OEBPS/chapter020.xhtml,文本字符[15000,20000))。 - 结论依据:原文定义最短边数距离、不可达值和对应的最短路径。 - 原始内容:Define the shortest-path distance δ( s , v ) from s to v as the minimum number of edges in any path from vertex s to vertex v . If there is no path from s to v , then δ( s , v ) = ∞. We call a path of length δ( s , v ) from s to v a shortest path 2 from s to v .