module7 - Flow Networks Topics Flow Networks Residual...

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

View Full Document Right Arrow Icon
9/28/2009 CSE 5311 Kumar 1 Flow Networks Topics Flow Networks Residual networks Ford-Fulkerson’s algorithm Ford-Fulkerson's Max-flow Min-cut Algorithm
Background image of page 1

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

View Full DocumentRight Arrow Icon
Flow Networks A directed graph can be interpreted as a flow network to analyse material flows through networks. Material courses through a system from a source (where it is produced) to a sink (where it is consumed). Examples : Water through pipelines Newspapers through distribution system Electricity through cables Cars on a production line on roads The source produces the material at a steady rate . The sink consumes the material at a steady rate
Background image of page 2
9/28/2009 CSE 5311 Kumar 3 Flow: the rate at which the material moves from one point to another 100 litres of water per hour in a pipe 30 Amperes of electric current in a circuit 5 litres/hour 30 liters/hour 25 litres/hour The rate at which a material enters a vertex = the rate at which the material leaves the vertex
Background image of page 3

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

View Full DocumentRight Arrow Icon
9/28/2009 CSE 5311 Kumar 4 The flow network G =(V,E) is a directed graph in which each edge (u,v) E has a nonnegative capacity c(u,v) 0. If (u,v) E then c(u,v) = 0. A flow network has a source vertex s , and a sink vertex t . For every vertex v V there is a path from s to v and v to t in a connected graph. source sink s t
Background image of page 4
9/28/2009 CSE 5311 Kumar 5 A flow in G is a real-valued function f : V V R that satisfies the following three properties: 1. Capacity constraint : For all u,v V , we require f(u,v) c(u,v). The net flow from one vertex to another must not exceed the given capacity. 2. Skew symmetry : For all u,v V , we require f(u,v) = -f( v,u ). The net flow from a vertex u to a vertex v is the negative of the net flow in the reverse direction. The net flow from a vertex to itself is zero for all u V , that is f(u,u) = 0. 3. Flow conservation : For all u V - {s,t}, we require The total net flow out of a vertex other than the source or sink is zero. V v v u f 0 ) , (
Background image of page 5

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

View Full DocumentRight Arrow Icon
9/28/2009 CSE 5311 Kumar 6 The quantity f(u,v) can be negative or positive, it is called the net flow from vertex u to v . The value of a flow is defined as V v v s f f ) , ( In the maximum-flow problem, we are given a flow network G with source s and sink t , and we wish to find a flow of maximum value from s to t .
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 11/18/2009.

Page1 / 28

module7 - Flow Networks Topics Flow Networks Residual...

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

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