Cycles and Paths vs functions

Slides:



Advertisements
Similar presentations
CS 336 March 19, 2012 Tandy Warnow.
Advertisements

Mathematical Induction
Connectivity - Menger’s Theorem Graphs & Algorithms Lecture 3.
1 Matching Polytope x1 x2 x3 Lecture 12: Feb 22 x1 x2 x3.
Max Flow Problem Given network N=(V,A), two nodes s,t of V, and capacities on the arcs: uij is the capacity on arc (i,j). Find non-negative flow fij for.
EMIS 8374 Vertex Connectivity Updated 20 March 2008.
MS&E 211 Minimum Cost Flow LP Ashish Goel. Minimum Cost Flow (MCF) Need to ship some good from “supply” nodes to “demand” nodes over a network – Example:
Lectures on Network Flows
Nick McKeown Spring 2012 Maximum Matching Algorithms EE384x Packet Switch Architectures.
1 Efficient implementation of Dinic’s algorithm for maximum flow.
Jim Anderson Comp 122, Fall 2003 Single-source SPs - 1 Chapter 24: Single-Source Shortest Paths Given: A single source vertex in a weighted, directed graph.
A New Approach to the Maximum-Flow Problem Andrew V. Goldberg, Robert E. Tarjan Presented by Andrew Guillory.
Graphs and Trees This handout: Trees Minimum Spanning Tree Problem.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
Internally Disjoint Paths
What is the best way to start? 1.Plug in n = 1. 2.Factor 6n 2 + 5n Let n be an integer. 4.Let n be an odd integer. 5.Let 6n 2 + 5n + 4 be an odd.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
1 Efficient implementation of Dinic’s algorithm for maximum flow.
Maximum flow Algorithms and Networks. A&N: Maximum flow2 Today Maximum flow problem Variants Applications Briefly: Ford-Fulkerson; min cut max flow theorem.
A New Approach to the Maximum-Flow Problem Andrew V. Goldberg, Robert E. Tarjan Presented by Andrew Guillory.
1 The Min Cost Flow Problem. 2 The Min Cost Flow problem We want to talk about multi-source, multi-sink flows than just “flows from s to t”. We want to.
Jim Anderson Comp 122, Fall 2003 Single-source SPs - 1 Chapter 24: Single-Source Shortest Paths Given: A single source vertex in a weighted, directed graph.
A vector space containing infinitely many vectors can be efficiently described by listing a set of vectors that SPAN the space. eg: describe the solutions.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Chapter 24: Single-Source Shortest Paths Given: A single source vertex in a weighted, directed graph. Want to compute a shortest path for each possible.
5.2 Trees  A tree is a connected graph without any cycles.
Maximum Flow. p2. Maximum Flow A flow network G=(V, E) is a DIRECTED graph where each has a nonnegative capacity u.
Flow Algorithms Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms Week 9, Lecture 2.
1 WEEK 11 Graphs III Network Flow Problems A Simple Maximum-Flow Algorithm Izmir University of Economics.
Chap. 11 Graph Theory and Applications 1. Directed Graph 2.
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 25.
Chapter Relations and Their Properties
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Class Plan 2-1.Minimum Spanning Tree 最小木
Xuding Zhu Zhejiang Normal University Budapest Circular flow of signed graphs.
8.5.3 – Unit Vectors, Linear Combinations. In the case of vectors, we have a special vector known as the unit vector – Unit Vector = any vector with a.
8.4 Closures of Relations Definition: The closure of a relation R with respect to property P is the relation obtained by adding the minimum number of.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
5.4 Binomial Coefficients Theorem 1: The binomial theorem Let x and y be variables, and let n be a nonnegative integer. Then Example 3: What is the coefficient.
C&O 355 Lecture 19 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
A directed graph G consists of a set V of vertices and a set E of arcs where each arc in E is associated with an ordered pair of vertices from V. V={0,
Xuding Zhu National Sun Yat-sen University Circular chromatic index.
Lecture 34 Section 6.7 Wed, Mar 28, 2007
Minimum Cost Flow Algorithms and Networks. Algorithms and Networks: Minimum Cost Flow2 This lecture The minimum cost flow problem: statement and applications.
Trees.
Polyhedral Optimization Lecture 2 – Part 2 M. Pawan Kumar Slides available online
Proof technique (pigeonhole principle)
The assignment problem
Lectures on Network Flows
Algorithms and Networks Hans Bodlaender
Algorithms and Networks
1.3 Modeling with exponentially many constr.
Planarity Testing.
Algorithms and Networks
Network Flow 2016/04/12.
Efficient implementation of Dinic’s algorithm for maximum flow
Countable and Countably Infinite Sets
How Bad Is Selfish Routing?
Analysis of Algorithms
Problem Solving 4.
Activity Networks
Selfish Routing 第3回
1.3 Modeling with exponentially many constr.
Algorithms (2IL15) – Lecture 7
Flow Feasibility Problems
Algorithms and Networks
Maximum flow: The preflow/push method of Goldberg and Tarjan (87)
Graph Theory: Cuts and Connectivity
Linear Dependence and Independence
Presentation transcript:

Cycles and Paths vs functions Cycle c: Take f(v,w) = 1 if (v,w) is an arc on the cycle Take f(v,w) = 0 otherwise Note: this is a special case of a circulation Path p from s to t: Take f(v,w) = 1 if (v,w) is an arc on the path Note: this is a special case of a flow from s to t with value 1

A useful theorem on circulations Theorem Let f be a circulation. Then f is a nonnegative linear combination of cycles in G. Proof. Find a cycle c, with minimum flow on c r, and use induction with f – r * c. Note: each step we have at least one additional arc (v,w) with f(v,w) = 0 If f is integer, `integer scalared’ linear combination.

Corollary on flows Theorem Let f be a flow from s to t. f can be written as a linear combination of cycles and paths from s to t. Look at the circulation by adding an edge from t to s and giving it flow value(f). Then apply the previous result. If f is an integer flow, then f can be written as a linear combination of cycles and paths from s to t with each factor an integer.