MAX-FLOW Flashcards

1
Q

How a flow function is proved to be legal?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

State Max-Flow problem as a linear programming problem

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

We can use Max-Flow problem to determine whether there are at least two totally distinct ways to get from source point to a target point. How?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which edges of G are found in the residual graph of G?

A
  • Only the edges that can admit more flow, forward and backward.*
  • if c(u,v)-f(u,v)>0 then (u,v) appears.*
  • if f(u,v)>0 then (v,u) appears.*
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
  • Page 718 in the book.*
  • The proof is based on the fact that when we look at a specific vertex u,V1 ={v |(u,v)} andV2 = {v |(v,u)} , because we disallow antiparallalism, V1 and V2 don’t share vertices.*
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the residual capacity of p?

A

It is the maximum amount by which we can increase the flow on each edge in the augmenting path p.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is it?

A

It is the flow on each edge on the path p in the augmenting path. Note: every edge which is not contained in p has a flow of 0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

f is a flowm the net flow f(S,T) across the cut (S,T) is defined to be:

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the capacity of a cut (S,T)?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the definition of a minimum-cut?

A

A minimum-cut of a network is a cut whose capacity is minimum over all cuts of the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Prove 1->2

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Prove 2 to 3

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Prove 3 to 1

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

For an arbitrarily chosen augmenting paths, does FF always eventually terminates?

A
  • No.*
  • The FF method might fail to terminate only if edge capacities are irrational numbers.*
  • If the capacities are rational numbers, we can apply an appropriate scaling transformation to make them all intergral.*
  • Since with integral, |f| must be increased with at least 1, finding an augmenting path will occur at most |f| times, and since searching a path costs O(|V|+|E’|)=O(|E|) - using BFS, we have a run-time of O(|E|*|f|)*
17
Q
A
18
Q
  • There’s a repeating question about having new limits; limit on the vertrics/multiple sources which produces exactly pi units of flow and such.*
  • What is the solution for this cases?*
A
  • The solution is simple to create a new edge which resembles the new limit/condition. This edge’s capacity is the limit and we force the current to move throw it, thus enforcing the condition.*
  • If we wish for an exact condition - we can further check whether the maximal current equals the capacity given by the new condition. If so, this condition can be maintained.*
19
Q
  • Note:*
  • Since capacities are non-negative, an augmenting path is definitely a simple path. why? because we push the stream “forwards” and not “backwards”.*
A
20
Q
A
21
Q

Reread the answer because you didn’t understand it at the first time.

A
22
Q
A
23
Q
A
24
Q
A
25
Q

Prove

A
26
Q

What is its dual?

A
27
Q
A