全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Weight of a path, shortest path, weighted distance?

又称: weighted distance · shortest path

Definition 25.1 University Computer Science — Year 1 · 第 25 章 — Shortest Paths

In a directed graph with a weight w(u,v)w(u, v) on each arc, the weight of a path is the sum of the weights of its arcs. The weighted distance δ(s,v)\delta(s, v) is the infimum of the weights of the paths from ss to vv: +∞+\infty if there is none, −∞-\infty if there are paths of arbitrarily small weight. A shortest path from ss to vv is a path of weight δ(s,v)\delta(s, v).

在原文中阅读 →