Lecture22 - CSE 421 Algorithms Richard Anderson Lecture 22...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Network Flow
Background image of page 2
Outline Network flow definitions Flow examples Augmenting Paths Residual Graph Ford Fulkerson Algorithm Cuts Maxflow-MinCut Theorem
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Network Flow Definitions Capacity Source, Sink Capacity Condition Conservation Condition Value of a flow
Background image of page 4
Flow Example u s t v 20 20 30 10 10
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Flow assignment and the residual graph u s t v 15/20 20/20 15/30 0/10 5/10 u s t v 5 15 10 5 20 15 15 5
Background image of page 6
Network Flow Definitions Flowgraph: Directed graph with distinguished vertices s (source) and t (sink) Capacities on the edges, c(e) >= 0 Problem, assign flows f(e) to the edges such that: 0 <= f(e) <= c(e) Flow is conserved at vertices other than s and t Flow conservation: flow going into a vertex equals the flow going out The flow leaving the source is a large as possible
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Flow Example a s d b c f e g h i t 20 5 20 20 20 20 20 5 5 5 20 5 10 20 5 20 20 5 20 20 5 5 10 30
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 16

Lecture22 - CSE 421 Algorithms Richard Anderson Lecture 22...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online