Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Weight of a path, shortest path, weighted distance?

Ook bekend als: weighted distance · shortest path

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

Lees in het hoofdstuk →