











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Some concept of Data Structures and Algorithm are Permutation, Representation, Implemented, Algorithm Design, Dynamic Programming, Graph Data Structures, String Processing, General Trees. Main points of this lecture are: Maximum Flow, Max Flow, Two Algorithmic Problems, Details, Nontrivial Applications, Network Connectivity, Traffic Control, Airline Scheduling, Project Selection, General Scheduling
Typology: Slides
1 / 19
This page cannot be seen from the preview
Don't miss anything!












e v e v
into out of
s
2
3
4
5
6
7
t
∑ = ∑
e v w v w ∈ E
f e f v w
outof :( , )
∑ = ∑ ( ) : ( , )
e v w wv ∈ E
f e f w v
into :( , )
( ) : ( , )
e v e v
into out of
s
2
3
4
5
6
7
t
= ∑
e s
out of
MAX FLOW: find s-t flow that
maximizes net flow out of the source.
e v e v
into out of
= ∑
e s
out of
MAX FLOW: find s-t flow that
maximizes net flow out of the source.
s
2
3
4
5
6
7
t
s
2
3
4
5
6
7
t
∑ ∑
∈ ∈
∈
=
v S w T
e S vw E
u e u v w
,
outof ( , )
( ) : ( , ).
s
2
3
4
5
6
7
t
∑ ∑
∈ ∈
∈
v S w T
e S vw E
,
outof ( , )
s
2
3
4
5
6
7
t
e S e S e s
∑ −^ ∑ = ∑^ =
outof into outof
s
2
3
4
5
6
7
t
e S e S e s
∑ −^ ∑ = ∑^ =
outof into outof
outof
outof
outof into
∑
∑
∑ ∑
e S
e S
e S e S
s
t
s
2
3
4
5
6
7
t