Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Relaxation?

Também chamado de: relaxation (of an edge)

Definition 25.4 University Computer Science — Year 1 · Capítulo 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.

Ler no capítulo →