Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Weight of a path, shortest path, weighted distance?

Dikenal juga sebagai: weighted distance · shortest path

Definition 25.1 University Computer Science — Year 1 · Bab 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).

Baca dalam konteks →