Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Residual network, augmenting path?

También llamado: residual capacity · residual network · augmenting path (flow)

Definition 26.6 University Computer Science — Year 2 · Capítulo 26 — Flows and Matchings

Given a flow ff, the residual capacity of a pair of vertices is

cf(u,v)=c(u,v)−f(u,v)+f(v,u),c_f(u, v) = c(u, v) - f(u, v) + f(v, u),

what can still be pushed from uu to vv: the unused capacity of (u,v)(u, v), plus the flow on (v,u)(v, u) that can be cancelled. The residual network GfG_f has an edge (u,v)(u, v) whenever cf(u,v)>0c_f(u, v) > 0. An augmenting path is a path from ss to tt in GfG_f.

The residual network after the first two augmentations of  (flow 7 on s, a, c, t and 1 on s, a, d, t). Solid edges are unused capacity, dashed ones flow that can be cancelled. The red path s, b, c, a, d, t is an augmenting path of bottleneck 4; its edge c a cancels 4 units of the flow on a c.
The residual network after the first two augmentations of Output 26.2 (flow 77 on s,a,c,ts, a, c, t and 11 on s,a,d,ts, a, d, t). Solid edges are unused capacity, dashed ones flow that can be cancelled. The red path s,b,c,a,d,ts, b, c, a, d, t is an augmenting path of bottleneck 44; its edge c→ac \to a cancels 44 units of the flow on a→ca \to c.
Leer en el capítulo →