知识卡片
路径权重等于边权之和
带权有向图中,一条路径的权重是沿途边权之和;最短路径在给定起终点的所有路径中使该和最小。
边权可以表示距离、时间或其他可沿路径相加的成本。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第22章 单源最短路径 · 查看原书依据
, vk〉 is the sum of the weights of its constituent edges: We define the shortest-path weight δ(u, v) from u to v by A shortest path from vertex u to vertex v is then
参考来源
- 位置:《算法导论(第4版)》第22章《单源最短路径》(OEBPS/chapter022.xhtml,文本字符[0,5000))。
- 结论依据:原文给出路径边权求和定义与可替换距离的累加指标。
- 原始内容:The weight w ( p ) of path p = 〈 v 0 , v 1 , … , v k 〉 is the sum of the weights of its constituent edges: We define the shortest-path weight δ( u , v ) from u to v by A shortest path from vertex u to vertex v is then