Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Relaxation?

Dikenal juga sebagai: relaxation (of an edge)

Definition 25.4 University Computer Science — Year 1 · Bab 25 — Shortest Paths

The algorithms keep an estimate dist[v]≥δ(s,v)\texttt{dist}[v] \geq \delta(s, v), with dist[s]=0\texttt{dist}[s] = 0 and +∞+\infty elsewhere at the start. To relax the arc u→vu \to v is to set dist[v]=dist[u]+w(u,v)\texttt{dist}[v] = \texttt{dist}[u] + w(u, v), and the parent of vv to uu, if that is smaller.

Baca dalam konteks →