SlideShare a Scribd company logo
1 of 144
Download to read offline
Network Flow
Data Structures and Algorithms
Emory University
Jinho D. Choi
Network Flow
2
S
1
2
3
4
T
Network Flow
2
S
1
2
3
4
T
Each edge e is associated with a capacity c.
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
Maximum flow?
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
3
Maximum flow?
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
3
3
Maximum flow?
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
3
3
1
2
Maximum flow?
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
3
3
1
2
2
Maximum flow?
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
3
3
1
2
2
1+2
Maximum flow?
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
3
3
1
2
2
1+2
3
Maximum flow?
Network Flow
2
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Each edge e is associated with a capacity c.
Push as much flow f as possible from S to T.
f(e) ≤ c(e)
Σu f(u, v) = Σw f(v, w), where v ∉ {S, T}
3
3
1
2
2
1+2
3
Maximum flow? Optimum?
4
4 2
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
4
4 2
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
4
4 2
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
4
4 2
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
4
4 2
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
4
4 22 0
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
4
4 22 0
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
4
4 22 0
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
4
4 22 0
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
4
4 22 0
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
4
4 22 0
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
43
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
43
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
1
43
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
1
43
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
1
43
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
1
431
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
1
0
0
431
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
1
0
0
2
431
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
1
0
0
2
431
4 22 01
Ford-Fulkerson Algorithm
3
S
1
2
3
4
T
2
3
1
2
3
1
Find a path p from S to T, where ∀e 𝜖 p. r(e) = c(e) - f(e) > 0.
∀e 𝜖 p. c(e) = c(e) - min(f(p)).
MaxFlow = MaxFlow + min(f(p)).
2
0
0
2
1
0
0
2
No more
augmenting path!
MaxFlow Class
4
public class MaxFlow
{
private Map<Edge,Double> m_flows;
private double d_maxFlow;
public MaxFlow(Graph graph)
{
init(graph);
}
public void init(Graph graph)
{
m_flows = new HashMap<>();
d_maxFlow = 0;
for (Edge edge : graph.getAllEdges())
m_flows.put(edge, 0d);
}
}
MaxFlow Class
4
public class MaxFlow
{
private Map<Edge,Double> m_flows;
private double d_maxFlow;
public MaxFlow(Graph graph)
{
init(graph);
}
public void init(Graph graph)
{
m_flows = new HashMap<>();
d_maxFlow = 0;
for (Edge edge : graph.getAllEdges())
m_flows.put(edge, 0d);
}
}
MaxFlow Class
5
public void updateResidual(List<Edge> path, double flow)
{
for (Edge edge : path) updateResidual(edge, flow);
d_maxFlow += flow;
}
public void updateResidual(Edge edge, double flow)
{
Double prev = m_flows.get(edge);
if (prev == null) prev = 0d;
m_flows.put(edge, prev + flow);
}
public double getResidual(Edge edge)
{
return edge.getWeight() - m_flows.get(edge);
}
public double getMaxFlow()
{
return d_maxFlow;
}
MaxFlow Class
5
public void updateResidual(List<Edge> path, double flow)
{
for (Edge edge : path) updateResidual(edge, flow);
d_maxFlow += flow;
}
public void updateResidual(Edge edge, double flow)
{
Double prev = m_flows.get(edge);
if (prev == null) prev = 0d;
m_flows.put(edge, prev + flow);
}
public double getResidual(Edge edge)
{
return edge.getWeight() - m_flows.get(edge);
}
public double getMaxFlow()
{
return d_maxFlow;
}
MaxFlow Class
5
public void updateResidual(List<Edge> path, double flow)
{
for (Edge edge : path) updateResidual(edge, flow);
d_maxFlow += flow;
}
public void updateResidual(Edge edge, double flow)
{
Double prev = m_flows.get(edge);
if (prev == null) prev = 0d;
m_flows.put(edge, prev + flow);
}
public double getResidual(Edge edge)
{
return edge.getWeight() - m_flows.get(edge);
}
public double getMaxFlow()
{
return d_maxFlow;
}
FordFulkerson Class
6
private Subgraph getAugmentingPath(Graph graph, MaxFlow mf, 

Subgraph sub, int source, int target)
{
if (source == target) return sub;
Subgraph tmp;
for (Edge edge : graph.getIncomingEdges(target))
{
if (sub.contains(edge.getSource())) continue; // cycle
if (mf.getResidual(edge) <= 0) continue; // no residual
tmp = new Subgraph(sub);
tmp.addEdge(edge);
tmp = getAugmentingPath(graph, mf, tmp, source, edge.getSource());
if (tmp != null) return tmp;
}
return null;
}
FordFulkerson Class
6
private Subgraph getAugmentingPath(Graph graph, MaxFlow mf, 

Subgraph sub, int source, int target)
{
if (source == target) return sub;
Subgraph tmp;
for (Edge edge : graph.getIncomingEdges(target))
{
if (sub.contains(edge.getSource())) continue; // cycle
if (mf.getResidual(edge) <= 0) continue; // no residual
tmp = new Subgraph(sub);
tmp.addEdge(edge);
tmp = getAugmentingPath(graph, mf, tmp, source, edge.getSource());
if (tmp != null) return tmp;
}
return null;
}
Complexity?
FordFulkerson Class
7
public MaxFlow getMaximumFlow(Graph graph, int source, int target)
{
MaxFlow mf = new MaxFlow(graph);
Subgraph sub = new Subgraph();
double min;
while ((sub = getAugmentingPath(graph, mf, sub, source, target)) != null)
{
min = getMin(mf, sub.getEdges());
mf.updateResidual(sub.getEdges(), min);
}
return mf;
}
FordFulkerson Class
7
public MaxFlow getMaximumFlow(Graph graph, int source, int target)
{
MaxFlow mf = new MaxFlow(graph);
Subgraph sub = new Subgraph();
double min;
while ((sub = getAugmentingPath(graph, mf, sub, source, target)) != null)
{
min = getMin(mf, sub.getEdges());
mf.updateResidual(sub.getEdges(), min);
}
return mf;
}
FordFulkerson Class
7
public MaxFlow getMaximumFlow(Graph graph, int source, int target)
{
MaxFlow mf = new MaxFlow(graph);
Subgraph sub = new Subgraph();
double min;
while ((sub = getAugmentingPath(graph, mf, sub, source, target)) != null)
{
min = getMin(mf, sub.getEdges());
mf.updateResidual(sub.getEdges(), min);
}
return mf;
}
private double getMin(MaxFlow mf, List<Edge> path)
{
double min = mf.getResidual(path.get(0));
for (int i=1; i<path.size(); i++)
min = Math.min(min, mf.getResidual(path.get(i)));
return min;
}
2 2
2 2
Ford-Fulkerson: Backward Pushing
8
S
1
2
T1
2 2
2 2
Ford-Fulkerson: Backward Pushing
8
S
1
2
T1
2 2
2 2
Ford-Fulkerson: Backward Pushing
8
S
1
2
T1
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
1
0
1 0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
8
S
1
2
T10
1
1
0
1 0
1
2 2
2 2
Ford-Fulkerson: Backward Pushing
9
S
1
2
T1
2 2
2 2
Ford-Fulkerson: Backward Pushing
9
S
1
2
T1
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
1
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
1
2 2
2 21
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
1
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
10
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
1
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1 12
1
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1 12
1
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1 12
1
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
0
12
1
1
0
1
0
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
0
12
1
1
0
1
0
1
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
0
1
12
1
1
0
1
0
1
1
2
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
0
1
12
1
1
0
1
0
1
1
2
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
0
1
12
1
1
0
1
0
1
1
2
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
0
1
12
1
1
0
1
0
1
1
2
0 0
22
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
0
1
12
1
1
0
1
0
1
1
2
0 0
22
1
2 2
2 2
1
1
1
Ford-Fulkerson: Backward Pushing
9
S
1
2
T10
1
1
1
0
1
12
1
1
0
1
0
1
1
2
0 0
22
1
protected void updateBackward(Graph graph, Subgraph sub, MaxFlow mf, double min)
{
boolean found;
for (Edge edge : sub.getEdges())
{
found = false;
for (Edge rEdge : graph.getIncomingEdges(edge.getSource()))
{
if (rEdge.getSource() == edge.getTarget())
{
mf.updateResidual(rEdge, -min);
found = true; break;
}
}
if (!found)
{
Edge rEdge = graph.setDirectedEdge

(edge.getTarget(), edge.getSource(), edge.getWeight());
mf.updateResidual(rEdge, -min);
}
}
}
10
protected void updateBackward(Graph graph, Subgraph sub, MaxFlow mf, double min)
{
boolean found;
for (Edge edge : sub.getEdges())
{
found = false;
for (Edge rEdge : graph.getIncomingEdges(edge.getSource()))
{
if (rEdge.getSource() == edge.getTarget())
{
mf.updateResidual(rEdge, -min);
found = true; break;
}
}
if (!found)
{
Edge rEdge = graph.setDirectedEdge

(edge.getTarget(), edge.getSource(), edge.getWeight());
mf.updateResidual(rEdge, -min);
}
}
}
10
protected void updateBackward(Graph graph, Subgraph sub, MaxFlow mf, double min)
{
boolean found;
for (Edge edge : sub.getEdges())
{
found = false;
for (Edge rEdge : graph.getIncomingEdges(edge.getSource()))
{
if (rEdge.getSource() == edge.getTarget())
{
mf.updateResidual(rEdge, -min);
found = true; break;
}
}
if (!found)
{
Edge rEdge = graph.setDirectedEdge

(edge.getTarget(), edge.getSource(), edge.getWeight());
mf.updateResidual(rEdge, -min);
}
}
}
10
Max-Flow Min-Cut Theorem
11
Max-Flow Min-Cut Theorem
11
• S-T cut
Max-Flow Min-Cut Theorem
11
• S-T cut
- A set of edges whose removal disconnects S to T.
Max-Flow Min-Cut Theorem
11
• S-T cut
- A set of edges whose removal disconnects S to T.
- The capacity of a cut = Σ c(e), ∀e in the cut.
Max-Flow Min-Cut Theorem
11
S
1
2
3
4
T
4
2
3
1
2
3
4
2
• S-T cut
- A set of edges whose removal disconnects S to T.
- The capacity of a cut = Σ c(e), ∀e in the cut.
Max-Flow Min-Cut Theorem
11
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Minimum cut
• S-T cut
- A set of edges whose removal disconnects S to T.
- The capacity of a cut = Σ c(e), ∀e in the cut.
Max-Flow Min-Cut Theorem
11
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Minimum cut
• S-T cut
- A set of edges whose removal disconnects S to T.
- The capacity of a cut = Σ c(e), ∀e in the cut.
Max-Flow Min-Cut Theorem
11
S
1
2
3
4
T
4
2
3
1
2
3
4
2
vs.
Maximum flow
Minimum cut
• S-T cut
- A set of edges whose removal disconnects S to T.
- The capacity of a cut = Σ c(e), ∀e in the cut.
Max-Flow Min-Cut Theorem
11
S
1
2
3
4
T
4
2
3
1
2
3
4
2
3
3
1
2
2
3
3
vs.
Maximum flow
Minimum cut
• S-T cut
- A set of edges whose removal disconnects S to T.
- The capacity of a cut = Σ c(e), ∀e in the cut.
Finding Min-Cut
12
4
4 2
S
1
2
3
4
T
2
3
1
2
3
Finding Min-Cut
12
4
4 2
S
1
2
3
4
T
2
3
1
2
3
Finding Min-Cut
12
4
4 2
S
1
2
3
4
T
2
3
1
2
3
Finding Min-Cut
12
4
4 22 0
S
1
2
3
4
T
2
3
1
2
3
1
Finding Min-Cut
12
4
4 22 0
S
1
2
3
4
T
2
3
1
2
3
1
Finding Min-Cut
12
4
4 22 0
S
1
2
3
4
T
2
3
1
2
3
1
Finding Min-Cut
12
4
4 22 0
S
1
2
3
4
T
2
3
1
2
3
1
Finding Min-Cut
12
43
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
Finding Min-Cut
12
43
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
Finding Min-Cut
12
43
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
Finding Min-Cut
12
43
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
Finding Min-Cut
12
431
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
0
0
Finding Min-Cut
12
431
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
0
0
Finding Min-Cut
12
431
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
0
0
• Algorithm
Finding Min-Cut
12
431
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
0
0
• Algorithm
1. Find a path p from S to T, remove any edge e in p, and put e to a set C.
Finding Min-Cut
12
431
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
0
0
• Algorithm
1. Find a path p from S to T, remove any edge e in p, and put e to a set C.
2. Repeat #1 until no path is found, and return C.
Finding Min-Cut
12
431
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
0
0
• Algorithm
1. Find a path p from S to T, remove any edge e in p, and put e to a set C.
2. Repeat #1 until no path is found, and return C.
• How can we find a min-cut?
Finding Min-Cut
12
431
4 22 01
S
1
2
3
4
T
2
3
1
2
3
10
0
2
0
0
• Algorithm
1. Find a path p from S to T, remove any edge e in p, and put e to a set C.
2. Repeat #1 until no path is found, and return C.
• How can we find a min-cut?
- Instead of removing any edge in #1, remove an edge with the
minimum original (not residual) weight.
Min-Cut vs. Max-Flow
13
Min-Cut vs. Max-Flow
13
• Lemma 1
Min-Cut vs. Max-Flow
13
• Lemma 1
- There is no extra edge in the min-cut.
Min-Cut vs. Max-Flow
13
• Lemma 1
- There is no extra edge in the min-cut.
- Prove?
Min-Cut vs. Max-Flow
13
• Lemma 1
- There is no extra edge in the min-cut.
- Prove?
• Lemma 2
Min-Cut vs. Max-Flow
13
• Lemma 1
- There is no extra edge in the min-cut.
- Prove?
• Lemma 2
- All edges in the min-cut must be parts of augmenting paths.
Min-Cut vs. Max-Flow
13
• Lemma 1
- There is no extra edge in the min-cut.
- Prove?
• Lemma 2
- All edges in the min-cut must be parts of augmenting paths.
- Prove?
Min-Cut vs. Max-Flow
13
• Lemma 1
- There is no extra edge in the min-cut.
- Prove?
• Lemma 2
- All edges in the min-cut must be parts of augmenting paths.
- Prove?
• Lemma 3
Min-Cut vs. Max-Flow
13
• Lemma 1
- There is no extra edge in the min-cut.
- Prove?
• Lemma 2
- All edges in the min-cut must be parts of augmenting paths.
- Prove?
• Lemma 3
- Each edge in the min-cut is the minimum weighted edge in each
augmenting path.
Min-Cut vs. Max-Flow
13
• Lemma 1
- There is no extra edge in the min-cut.
- Prove?
• Lemma 2
- All edges in the min-cut must be parts of augmenting paths.
- Prove?
• Lemma 3
- Each edge in the min-cut is the minimum weighted edge in each
augmenting path.
- Prove?
Network Flow Using Simplex
14
S
1
2
4
3
T
2
2
Network Flow Using Simplex
14
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Network Flow Using Simplex
14
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Max-Flow
Network Flow Using Simplex
14
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
Max-Flow
Network Flow Using Simplex
14
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Max-Flow
Network Flow Using Simplex
14
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Subject to:
Max-Flow
Network Flow Using Simplex
14
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Subject to:
x1 ≤ 4
x2 ≤ 2
x3 ≤ 3
x4 ≤ 2
x2 - x1 ≤ 0
x4 - x3 ≤ 0
Max-Flow
Network Flow Using Simplex
15
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Network Flow Using Simplex
15
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Network Flow Using Simplex
15
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Maximize:
Network Flow Using Simplex
15
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Maximize: Subject to:
Network Flow Using Simplex
15
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Maximize: Subject to:
x7 + x8
Network Flow Using Simplex
15
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Maximize: Subject to:
x7 + x8 x3 - x1 ≤ 0
x4 + x5 - x2 - x6 ≤ 0
x6 + x7 - x3 - x4 ≤ 0
x8 - x5 ≤ 0
x1 ≤ 4
x2 ≤ 2
x3 ≤ 3
x4 ≤ 2
x5 ≤ 3
x6 ≤ 1
x7 ≤ 2
x8 ≤ 4
Network Flow Using Simplex
16
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Subject to:
x1 ≤ 4
x2 ≤ 2
x3 ≤ 3
x4 ≤ 2
x2 - x1 ≤ 0
x4 - x3 ≤ 0
Max-Flow
Network Flow Using Simplex
16
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Subject to:
x1 ≤ 4
x2 ≤ 2
x3 ≤ 3
x4 ≤ 2
x2 - x1 ≤ 0
x4 - x3 ≤ 0
Max-Flow Min-Cut
Network Flow Using Simplex
16
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Subject to:
x1 ≤ 4
x2 ≤ 2
x3 ≤ 3
x4 ≤ 2
x2 - x1 ≤ 0
x4 - x3 ≤ 0
Max-Flow Min-Cut
Minimize:
Network Flow Using Simplex
16
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Subject to:
x1 ≤ 4
x2 ≤ 2
x3 ≤ 3
x4 ≤ 2
x2 - x1 ≤ 0
x4 - x3 ≤ 0
Max-Flow Min-Cut
Minimize:
4x1 + 2x2 + 3x3 + 2x4
Network Flow Using Simplex
16
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Subject to:
x1 ≤ 4
x2 ≤ 2
x3 ≤ 3
x4 ≤ 2
x2 - x1 ≤ 0
x4 - x3 ≤ 0
Max-Flow Min-Cut
Minimize:
4x1 + 2x2 + 3x3 + 2x4
Subject to:
Network Flow Using Simplex
16
S
1
2
4
3
T
2
2
x1 x2
x3 x4
Maximize:
x2 + x4
Subject to:
x1 ≤ 4
x2 ≤ 2
x3 ≤ 3
x4 ≤ 2
x2 - x1 ≤ 0
x4 - x3 ≤ 0
Max-Flow Min-Cut
Minimize:
4x1 + 2x2 + 3x3 + 2x4
Subject to:
x1 + y1 ≥ 1
x3 + y3 ≥ 1
x2 - y1 ≥ 0
x4 - y3 ≥ 0
Network Flow Using Simplex
17
S
1
2
3
4
T
4
2
3
1
2
3
4
2
Network Flow Using Simplex
17
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Network Flow Using Simplex
17
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Minimize:
Network Flow Using Simplex
17
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Minimize: Subject to:
Network Flow Using Simplex
17
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Minimize: Subject to:
4x1 + 2x2 + 3x3 + 2x4 +
3x5 + x6 + 2x7 + 4x8
Network Flow Using Simplex
17
S
1
2
3
4
T
4
2
3
1
2
3
4
2
x1
x3
x6
x7
x2
x5
x8
x4
Minimize: Subject to:
4x1 + 2x2 + 3x3 + 2x4 +
3x5 + x6 + 2x7 + 4x8
x1 + y1 ≥ 1
x2 + y2 ≥ 1
x3 - y1 + y3 ≥ 0
x4 - y2 + y3 ≥ 0
x5 - y2 + y4 ≥ 0
x6 - y3 + y2 ≥ 0
x7 - y3 ≥ 0
x8 - y4 ≥ 0

More Related Content

What's hot

Bab 4 Semester 3
Bab 4 Semester 3Bab 4 Semester 3
Bab 4 Semester 3Zinoa
 
Minimum cost maximum flow
Minimum cost maximum flowMinimum cost maximum flow
Minimum cost maximum flowSaruarChowdhury
 
Admission in India
Admission in IndiaAdmission in India
Admission in IndiaEdhole.com
 
Volume of solids k todd
Volume of solids k toddVolume of solids k todd
Volume of solids k toddtodd1km
 
Flow Network Talk
Flow Network TalkFlow Network Talk
Flow Network TalkImane Haf
 
Matrix of linear transformation
Matrix of linear transformationMatrix of linear transformation
Matrix of linear transformationbeenishbeenish
 
Jaimin chp-5 - network layer- 2011 batch
Jaimin   chp-5 - network layer- 2011 batchJaimin   chp-5 - network layer- 2011 batch
Jaimin chp-5 - network layer- 2011 batchJaimin Jani
 
Fourier integral of Fourier series
Fourier integral of Fourier seriesFourier integral of Fourier series
Fourier integral of Fourier seriesChintan Mehta
 
ゲーム理論BASIC 演習37 -3人ゲームの混合戦略ナッシュ均衡を求める-
ゲーム理論BASIC 演習37 -3人ゲームの混合戦略ナッシュ均衡を求める-ゲーム理論BASIC 演習37 -3人ゲームの混合戦略ナッシュ均衡を求める-
ゲーム理論BASIC 演習37 -3人ゲームの混合戦略ナッシュ均衡を求める-ssusere0a682
 
REMEDIAL MATHAMETICS PHARM D 1ST YEAR FORMULA'S
REMEDIAL MATHAMETICS PHARM D 1ST YEAR FORMULA'SREMEDIAL MATHAMETICS PHARM D 1ST YEAR FORMULA'S
REMEDIAL MATHAMETICS PHARM D 1ST YEAR FORMULA'SDEVKAREAKSHAY
 
07122555 0937185627
07122555 093718562707122555 0937185627
07122555 0937185627faisupak
 
All pair shortest path by Sania Nisar
All pair shortest path by Sania NisarAll pair shortest path by Sania Nisar
All pair shortest path by Sania NisarSania Nisar
 
Fourier series and its applications by md nazmul islam
Fourier series and its applications by md nazmul islamFourier series and its applications by md nazmul islam
Fourier series and its applications by md nazmul islamMd Nazmul Islam
 

What's hot (20)

Bab 4 Semester 3
Bab 4 Semester 3Bab 4 Semester 3
Bab 4 Semester 3
 
Minimum cost maximum flow
Minimum cost maximum flowMinimum cost maximum flow
Minimum cost maximum flow
 
number-theory
number-theorynumber-theory
number-theory
 
Admission in India
Admission in IndiaAdmission in India
Admission in India
 
Volume of solids k todd
Volume of solids k toddVolume of solids k todd
Volume of solids k todd
 
Flow Network Talk
Flow Network TalkFlow Network Talk
Flow Network Talk
 
Matrix of linear transformation
Matrix of linear transformationMatrix of linear transformation
Matrix of linear transformation
 
Jaimin chp-5 - network layer- 2011 batch
Jaimin   chp-5 - network layer- 2011 batchJaimin   chp-5 - network layer- 2011 batch
Jaimin chp-5 - network layer- 2011 batch
 
Fourier integral of Fourier series
Fourier integral of Fourier seriesFourier integral of Fourier series
Fourier integral of Fourier series
 
Maximum flow
Maximum flowMaximum flow
Maximum flow
 
ゲーム理論BASIC 演習37 -3人ゲームの混合戦略ナッシュ均衡を求める-
ゲーム理論BASIC 演習37 -3人ゲームの混合戦略ナッシュ均衡を求める-ゲーム理論BASIC 演習37 -3人ゲームの混合戦略ナッシュ均衡を求める-
ゲーム理論BASIC 演習37 -3人ゲームの混合戦略ナッシュ均衡を求める-
 
REMEDIAL MATHAMETICS PHARM D 1ST YEAR FORMULA'S
REMEDIAL MATHAMETICS PHARM D 1ST YEAR FORMULA'SREMEDIAL MATHAMETICS PHARM D 1ST YEAR FORMULA'S
REMEDIAL MATHAMETICS PHARM D 1ST YEAR FORMULA'S
 
07122555 0937185627
07122555 093718562707122555 0937185627
07122555 0937185627
 
Fourier integral
Fourier integralFourier integral
Fourier integral
 
Real-number
Real-numberReal-number
Real-number
 
SPSF03 - Numerical Integrations
SPSF03 - Numerical IntegrationsSPSF03 - Numerical Integrations
SPSF03 - Numerical Integrations
 
All pair shortest path by Sania Nisar
All pair shortest path by Sania NisarAll pair shortest path by Sania Nisar
All pair shortest path by Sania Nisar
 
Fourier series and its applications by md nazmul islam
Fourier series and its applications by md nazmul islamFourier series and its applications by md nazmul islam
Fourier series and its applications by md nazmul islam
 
Laplace table
Laplace tableLaplace table
Laplace table
 
Isomorphism
IsomorphismIsomorphism
Isomorphism
 

Similar to CS253: Network Flow (2019)

communication-systems-4th-edition-2002-carlson-solution-manual
communication-systems-4th-edition-2002-carlson-solution-manualcommunication-systems-4th-edition-2002-carlson-solution-manual
communication-systems-4th-edition-2002-carlson-solution-manualamirhosseinozgoli
 
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2zukun
 
22 - Max Flow Porblem Ford Fulkerson Method.pdf
22 - Max Flow Porblem Ford Fulkerson Method.pdf22 - Max Flow Porblem Ford Fulkerson Method.pdf
22 - Max Flow Porblem Ford Fulkerson Method.pdfabeedmaleek
 
Sistemas de comunicacion 4ta edicion - bruce a. carlson solutions manual
Sistemas de comunicacion   4ta edicion - bruce a. carlson solutions manualSistemas de comunicacion   4ta edicion - bruce a. carlson solutions manual
Sistemas de comunicacion 4ta edicion - bruce a. carlson solutions manualluis hernando rodriguez montenegro
 
Max flow min cut
Max flow min cutMax flow min cut
Max flow min cutMayank Garg
 
String kmp
String kmpString kmp
String kmpthinkphp
 
On the Choice of Compressor Pressure in the Process of Pneumatic Transport to...
On the Choice of Compressor Pressure in the Process of Pneumatic Transport to...On the Choice of Compressor Pressure in the Process of Pneumatic Transport to...
On the Choice of Compressor Pressure in the Process of Pneumatic Transport to...BRNSS Publication Hub
 
The Application of Derivatives
The Application of DerivativesThe Application of Derivatives
The Application of Derivativesdivaprincess09
 
Talk at the QCDN 2012 conference in Bilbao
Talk at the QCDN 2012 conference in BilbaoTalk at the QCDN 2012 conference in Bilbao
Talk at the QCDN 2012 conference in BilbaoFrancesca Giordano
 
Fourier Series of Music by Robert Fustero
Fourier Series of Music by Robert FusteroFourier Series of Music by Robert Fustero
Fourier Series of Music by Robert FusteroRobertFustero
 
A common random fixed point theorem for rational ineqality in hilbert space ...
 A common random fixed point theorem for rational ineqality in hilbert space ... A common random fixed point theorem for rational ineqality in hilbert space ...
A common random fixed point theorem for rational ineqality in hilbert space ...Alexander Decker
 
Chapter 8 Root Locus Techniques
Chapter 8 Root Locus TechniquesChapter 8 Root Locus Techniques
Chapter 8 Root Locus Techniquesguesta0c38c3
 
1531 fourier series- integrals and trans
1531 fourier series- integrals and trans1531 fourier series- integrals and trans
1531 fourier series- integrals and transDr Fereidoun Dejahang
 
Taylor and maclaurian series
Taylor and maclaurian seriesTaylor and maclaurian series
Taylor and maclaurian seriesNishant Patel
 
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsA Jorge Garcia
 

Similar to CS253: Network Flow (2019) (20)

communication-systems-4th-edition-2002-carlson-solution-manual
communication-systems-4th-edition-2002-carlson-solution-manualcommunication-systems-4th-edition-2002-carlson-solution-manual
communication-systems-4th-edition-2002-carlson-solution-manual
 
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 2
 
Signal & system
Signal & systemSignal & system
Signal & system
 
Maxflow
MaxflowMaxflow
Maxflow
 
22 - Max Flow Porblem Ford Fulkerson Method.pdf
22 - Max Flow Porblem Ford Fulkerson Method.pdf22 - Max Flow Porblem Ford Fulkerson Method.pdf
22 - Max Flow Porblem Ford Fulkerson Method.pdf
 
Sistemas de comunicacion 4ta edicion - bruce a. carlson solutions manual
Sistemas de comunicacion   4ta edicion - bruce a. carlson solutions manualSistemas de comunicacion   4ta edicion - bruce a. carlson solutions manual
Sistemas de comunicacion 4ta edicion - bruce a. carlson solutions manual
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Max flow min cut
Max flow min cutMax flow min cut
Max flow min cut
 
String kmp
String kmpString kmp
String kmp
 
On the Choice of Compressor Pressure in the Process of Pneumatic Transport to...
On the Choice of Compressor Pressure in the Process of Pneumatic Transport to...On the Choice of Compressor Pressure in the Process of Pneumatic Transport to...
On the Choice of Compressor Pressure in the Process of Pneumatic Transport to...
 
The Application of Derivatives
The Application of DerivativesThe Application of Derivatives
The Application of Derivatives
 
Talk at the QCDN 2012 conference in Bilbao
Talk at the QCDN 2012 conference in BilbaoTalk at the QCDN 2012 conference in Bilbao
Talk at the QCDN 2012 conference in Bilbao
 
05_AJMS_178_19_RA.pdf
05_AJMS_178_19_RA.pdf05_AJMS_178_19_RA.pdf
05_AJMS_178_19_RA.pdf
 
05_AJMS_178_19_RA.pdf
05_AJMS_178_19_RA.pdf05_AJMS_178_19_RA.pdf
05_AJMS_178_19_RA.pdf
 
Fourier Series of Music by Robert Fustero
Fourier Series of Music by Robert FusteroFourier Series of Music by Robert Fustero
Fourier Series of Music by Robert Fustero
 
A common random fixed point theorem for rational ineqality in hilbert space ...
 A common random fixed point theorem for rational ineqality in hilbert space ... A common random fixed point theorem for rational ineqality in hilbert space ...
A common random fixed point theorem for rational ineqality in hilbert space ...
 
Chapter 8 Root Locus Techniques
Chapter 8 Root Locus TechniquesChapter 8 Root Locus Techniques
Chapter 8 Root Locus Techniques
 
1531 fourier series- integrals and trans
1531 fourier series- integrals and trans1531 fourier series- integrals and trans
1531 fourier series- integrals and trans
 
Taylor and maclaurian series
Taylor and maclaurian seriesTaylor and maclaurian series
Taylor and maclaurian series
 
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC exams
 

More from Jinho Choi

Adaptation of Multilingual Transformer Encoder for Robust Enhanced Universal ...
Adaptation of Multilingual Transformer Encoder for Robust Enhanced Universal ...Adaptation of Multilingual Transformer Encoder for Robust Enhanced Universal ...
Adaptation of Multilingual Transformer Encoder for Robust Enhanced Universal ...Jinho Choi
 
Analysis of Hierarchical Multi-Content Text Classification Model on B-SHARP D...
Analysis of Hierarchical Multi-Content Text Classification Model on B-SHARP D...Analysis of Hierarchical Multi-Content Text Classification Model on B-SHARP D...
Analysis of Hierarchical Multi-Content Text Classification Model on B-SHARP D...Jinho Choi
 
Competence-Level Prediction and Resume & Job Description Matching Using Conte...
Competence-Level Prediction and Resume & Job Description Matching Using Conte...Competence-Level Prediction and Resume & Job Description Matching Using Conte...
Competence-Level Prediction and Resume & Job Description Matching Using Conte...Jinho Choi
 
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...Jinho Choi
 
The Myth of Higher-Order Inference in Coreference Resolution
The Myth of Higher-Order Inference in Coreference ResolutionThe Myth of Higher-Order Inference in Coreference Resolution
The Myth of Higher-Order Inference in Coreference ResolutionJinho Choi
 
Noise Pollution in Hospital Readmission Prediction: Long Document Classificat...
Noise Pollution in Hospital Readmission Prediction: Long Document Classificat...Noise Pollution in Hospital Readmission Prediction: Long Document Classificat...
Noise Pollution in Hospital Readmission Prediction: Long Document Classificat...Jinho Choi
 
Abstract Meaning Representation
Abstract Meaning RepresentationAbstract Meaning Representation
Abstract Meaning RepresentationJinho Choi
 
Semantic Role Labeling
Semantic Role LabelingSemantic Role Labeling
Semantic Role LabelingJinho Choi
 
CS329 - WordNet Similarities
CS329 - WordNet SimilaritiesCS329 - WordNet Similarities
CS329 - WordNet SimilaritiesJinho Choi
 
CS329 - Lexical Relations
CS329 - Lexical RelationsCS329 - Lexical Relations
CS329 - Lexical RelationsJinho Choi
 
Automatic Knowledge Base Expansion for Dialogue Management
Automatic Knowledge Base Expansion for Dialogue ManagementAutomatic Knowledge Base Expansion for Dialogue Management
Automatic Knowledge Base Expansion for Dialogue ManagementJinho Choi
 
Attention is All You Need for AMR Parsing
Attention is All You Need for AMR ParsingAttention is All You Need for AMR Parsing
Attention is All You Need for AMR ParsingJinho Choi
 
Graph-to-Text Generation and its Applications to Dialogue
Graph-to-Text Generation and its Applications to DialogueGraph-to-Text Generation and its Applications to Dialogue
Graph-to-Text Generation and its Applications to DialogueJinho Choi
 
Real-time Coreference Resolution for Dialogue Understanding
Real-time Coreference Resolution for Dialogue UnderstandingReal-time Coreference Resolution for Dialogue Understanding
Real-time Coreference Resolution for Dialogue UnderstandingJinho Choi
 
Topological Sort
Topological SortTopological Sort
Topological SortJinho Choi
 
Multi-modal Embedding Learning for Early Detection of Alzheimer's Disease
Multi-modal Embedding Learning for Early Detection of Alzheimer's DiseaseMulti-modal Embedding Learning for Early Detection of Alzheimer's Disease
Multi-modal Embedding Learning for Early Detection of Alzheimer's DiseaseJinho Choi
 
Building Widely-Interpretable Semantic Networks for Dialogue Contexts
Building Widely-Interpretable Semantic Networks for Dialogue ContextsBuilding Widely-Interpretable Semantic Networks for Dialogue Contexts
Building Widely-Interpretable Semantic Networks for Dialogue ContextsJinho Choi
 
How to make Emora talk about Sports Intelligently
How to make Emora talk about Sports IntelligentlyHow to make Emora talk about Sports Intelligently
How to make Emora talk about Sports IntelligentlyJinho Choi
 

More from Jinho Choi (20)

Adaptation of Multilingual Transformer Encoder for Robust Enhanced Universal ...
Adaptation of Multilingual Transformer Encoder for Robust Enhanced Universal ...Adaptation of Multilingual Transformer Encoder for Robust Enhanced Universal ...
Adaptation of Multilingual Transformer Encoder for Robust Enhanced Universal ...
 
Analysis of Hierarchical Multi-Content Text Classification Model on B-SHARP D...
Analysis of Hierarchical Multi-Content Text Classification Model on B-SHARP D...Analysis of Hierarchical Multi-Content Text Classification Model on B-SHARP D...
Analysis of Hierarchical Multi-Content Text Classification Model on B-SHARP D...
 
Competence-Level Prediction and Resume & Job Description Matching Using Conte...
Competence-Level Prediction and Resume & Job Description Matching Using Conte...Competence-Level Prediction and Resume & Job Description Matching Using Conte...
Competence-Level Prediction and Resume & Job Description Matching Using Conte...
 
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
 
The Myth of Higher-Order Inference in Coreference Resolution
The Myth of Higher-Order Inference in Coreference ResolutionThe Myth of Higher-Order Inference in Coreference Resolution
The Myth of Higher-Order Inference in Coreference Resolution
 
Noise Pollution in Hospital Readmission Prediction: Long Document Classificat...
Noise Pollution in Hospital Readmission Prediction: Long Document Classificat...Noise Pollution in Hospital Readmission Prediction: Long Document Classificat...
Noise Pollution in Hospital Readmission Prediction: Long Document Classificat...
 
Abstract Meaning Representation
Abstract Meaning RepresentationAbstract Meaning Representation
Abstract Meaning Representation
 
Semantic Role Labeling
Semantic Role LabelingSemantic Role Labeling
Semantic Role Labeling
 
CKY Parsing
CKY ParsingCKY Parsing
CKY Parsing
 
CS329 - WordNet Similarities
CS329 - WordNet SimilaritiesCS329 - WordNet Similarities
CS329 - WordNet Similarities
 
CS329 - Lexical Relations
CS329 - Lexical RelationsCS329 - Lexical Relations
CS329 - Lexical Relations
 
Automatic Knowledge Base Expansion for Dialogue Management
Automatic Knowledge Base Expansion for Dialogue ManagementAutomatic Knowledge Base Expansion for Dialogue Management
Automatic Knowledge Base Expansion for Dialogue Management
 
Attention is All You Need for AMR Parsing
Attention is All You Need for AMR ParsingAttention is All You Need for AMR Parsing
Attention is All You Need for AMR Parsing
 
Graph-to-Text Generation and its Applications to Dialogue
Graph-to-Text Generation and its Applications to DialogueGraph-to-Text Generation and its Applications to Dialogue
Graph-to-Text Generation and its Applications to Dialogue
 
Real-time Coreference Resolution for Dialogue Understanding
Real-time Coreference Resolution for Dialogue UnderstandingReal-time Coreference Resolution for Dialogue Understanding
Real-time Coreference Resolution for Dialogue Understanding
 
Topological Sort
Topological SortTopological Sort
Topological Sort
 
Tries - Put
Tries - PutTries - Put
Tries - Put
 
Multi-modal Embedding Learning for Early Detection of Alzheimer's Disease
Multi-modal Embedding Learning for Early Detection of Alzheimer's DiseaseMulti-modal Embedding Learning for Early Detection of Alzheimer's Disease
Multi-modal Embedding Learning for Early Detection of Alzheimer's Disease
 
Building Widely-Interpretable Semantic Networks for Dialogue Contexts
Building Widely-Interpretable Semantic Networks for Dialogue ContextsBuilding Widely-Interpretable Semantic Networks for Dialogue Contexts
Building Widely-Interpretable Semantic Networks for Dialogue Contexts
 
How to make Emora talk about Sports Intelligently
How to make Emora talk about Sports IntelligentlyHow to make Emora talk about Sports Intelligently
How to make Emora talk about Sports Intelligently
 

Recently uploaded

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

CS253: Network Flow (2019)