CS 410/584, Algorithm Design & Analysis, Lecture Notes 5

Similar documents
CONNECTIONS. Key Words Splices, Bolted Splice, Bolted Column Splice, Minor Axis Splice

Interpreting Sinusoidal Functions

3. The amount to which $1,000 will grow in 5 years at a 6 percent annual interest rate compounded annually is

Capacity Utilization Metrics Revisited: Delay Weighting vs Demand Weighting. Mark Hansen Chieh-Yu Hsiao University of California, Berkeley 01/29/04

1 What is Game Theory? Game Theory 1. Introduction. Rational Agents. Rational Agents in Game Theory

AP Physics 1 Per. Unit 2 Homework. s av

Using Rates of Change to Create a Graphical Model. LEARN ABOUT the Math. Create a speed versus time graph for Steve s walk to work.

Zelio Control Measurement Relays RM4L Liquid Level Relays

Instruction Manual. Rugged PCB type. 1 Terminal Block. 2 Function. 3 Series Operation and Parallel Operation. 4 Assembling and Installation Method

Name Class Date. Step 2: Rearrange the acceleration equation to solve for final speed. a v final v initial v. final v initial v.

KINEMATICS IN ONE DIMENSION

I t ' 4 ti. t ti. IQ:::: mass x heat of fusion (or heat of vaporization) I HEAT AND ITS MEASUREMENT. t t. t f I I I. Name

3.00 m. 8. At La Ronde, the free-fall ride called the Orbit" causes a 60.0 kg person to accelerate at a rate of 9.81 m/s 2 down.

What the Puck? an exploration of Two-Dimensional collisions

Morningstar Investor Return

Control elements. Fine adjustment. Function selector. Status indication. 24 V DC typ. 0,25 W / 0,25 VA. 24 V DC typ. 0,03 W / 0,09 VA. min.

CALCULATORS: Casio: ClassPad 300 ClassPad 300 Plus ClassPad Manager TI: TI-89, TI-89 Titanium Voyage 200. The Casio ClassPad 300

Chapter / rev/min Ans. C / in. C mm Ans teeth Ans. C / mm Ans.

Development of Urban Public Transit Network Structure Integrating Multi-Class Public Transit Lines and Transfer Hubs

VLSI Design I; A. Milenkovic 1

(I Got Spurs That) Jingle Jangle Jingle lyrics Tex Ritter

CMA DiRECtions for ADMinistRAtion GRADE 6. California Modified Assessment. test Examiner and Proctor Responsibilities

MVS. Electronic fan speed controller for DIN rail. Key features. Article codes Technical specifications. Area of use

Simulation of Scattering Acoustic Field in Rod and Identify of. Ultrasonic Flaw Detecting Signal

Mattaponi Sundowners

Stages Written by: Striker. Old West Sayings. Always drink upstream from the herd.-- Will Rogers

Urban public transport optimization by bus ways: a neural network-based methodology

Time & Distance SAKSHI If an object travels the same distance (D) with two different speeds S 1 taking different times t 1

BGW-installation instruction for BGW-anchor with data head

Flow Switch LABO-VHZ-S

LSU RISK ASSESSMENT FORM Please read How to Complete a Risk Assessment before completion

Chapter : Linear Motion 1

"Pecos Bill Rides a Tornado" Stages Written by: Striker

Explore Graphs of Linear Relations. 1. a) Use a method of your choice to determine how much water will be needed each day of a seven-day cruise.

8/31/11. the distance it travelled. The slope of the tangent to a curve in the position vs time graph for a particles motion gives:

The safe ships trajectory in a restricted area

29 B ROUTE Bus Times Summer NOTES a = Time at Vicarage Way. * = On Schooldays bus operates up to 5 minutes later.

TOPIC 7: MAPPING GENES

Making Sense of Genetics Problems

67.301/1. RLP 10: Pneumatic volume-flow controller. Sauter Components

A Probabilistic Approach to Worst Case Scenarios

Lifecycle Funds. T. Rowe Price Target Retirement Fund. Lifecycle Asset Allocation

Proceedings of the ASME 28th International Conference on Ocean, Offshore and Arctic Engineering OMAE2009 May 31 - June 5, 2009, Honolulu, Hawaii

Economic Growth & Development: Part 3 Horizontal Innovation Models: Applications. By Kiminori Matsuyama. Updated on , 6:12:26 PM

As time goes by - Using time series based decision tree induction to analyze the behaviour of opponent players

San Francisco State University ECON 560 Fall Midterm Exam 2. Tuesday, October hour, 15 minutes

CHAPTER TEST REVIEW, LESSONS 4-1 TO 4-5

Numerical Modeling of a Planing Hull Maneuvering in a Regular Wave, Part 1: Dynamic Instability

Mattaponi Sundowners

SURFACE PAVEMENT CHARACTERISTICS AND ACCIDENT RATE

PRESSURE SENSOR TECHNICAL GUIDE INTRODUCTION FEATURES OF ELECTRIC PRESSURE SENSOR. Photoelectric. Sensor. Proximity Sensor. Inductive. Sensor.

Sudden Stops, Sectoral Reallocations, and Real Exchange Rates

INSTRUCTIONS FOR USE. This file can only be used to produce a handout master:

Machine Learning for Stock Selection

Proportional Reasoning

Paul M. Sommers David U. Cha And Daniel P. Glatt. March 2010 MIDDLEBURY COLLEGE ECONOMICS DISCUSSION PAPER NO

DYNAMIC portfolio optimization is one of the important

Mattaponi Sundowners. The History of Father s Day in the United States

Filter Regulator with Back Flow Mechanism AW20K/30K/40K. How to Order. Symbol. Note 4) J N R W Z. Note 5) Note 6) Accessories Note 3) Symbol.

Performance Attribution for Equity Portfolios

POWER DANGER NOW COMMERCIAL. Controls Ba Erodes Slowly to Deliver Lo ACTIVE INGREDIENT: OTHER INGREDIENTS:...32% with Anti-Scale Additive

Type Control action Setpoint range Air Weight Volume flow % capacity I n /h kg. Pressure diff. 1) Pa

Economics 487. Homework #4 Solution Key Portfolio Calculations and the Markowitz Algorithm

RECOMMENDATION FOR INTERCHANGEABLE STUD BOLTS AND TAP END STUDS FOR API SPEC 6A FLANGES

An Alternative Mathematical Model for Oxygen Transfer Evaluation in Clean Water

Guidance Statement on Calculation Methodology

TRACK PROCEDURES 2016 RACE DAY

Monte Carlo simulation modelling of aircraft dispatch with known faults

2017 MCM/ICM Merging Area Designing Model for A Highway Toll Plaza Summary Sheet

Golf Course Caddy Book FPO RULES + HOLE NOTES

Semi-Fixed-Priority Scheduling: New Priority Assignment Policy for Practical Imprecise Computation

Homework 2. is unbiased if. Y is consistent if. c. in real life you typically get to sample many times.

The design of courier transportation networks with a nonlinear zero-one programming model

EXAMINING THE FEASIBILITY OF PAIRED CLOSELY-SPACED PARALLEL APPROACHES

Basic Systematic Experiments and New Type Child Unit of Anchor Climber: Swarm Type Wall Climbing Robot System

Reliability Design Technology for Power Semiconductor Modules

AEROBIC SYSTEM (long moderate work)

1. The value of the digit 4 in the number 42,780 is 10 times the value of the digit 4 in which number?

Genetic Algorithms in Multi-Stage Portfolio Optimization System

Radix-64 Floating-Point Divider

A Liability Tracking Portfolio for Pension Fund Management

Avoiding Component Failure in Industrial Refrigeration Systems

Evaluating Portfolio Policies: A Duality Approach

Optimal Staged Self-Assembly of General Shapes

Optimal Staged Self-Assembly of General Shapes

Keywords: overfishing, voluntary vessel buy back programs, backward bending supply curve, offshore fisheries in Taiwan

Radix-64 Floating- Point Divider

Dual Boost High Performances Power Factor Correction (PFC)

LEWA intellidrive. The mechatronic All-in-One pump system. intelligent flexible dynamic high precision. Foto: ratiopharm

Automatic air-main charging and pressure control system for compressed air supplies

Overview. Do white-tailed tailed and mule deer compete? Ecological Definitions (Birch 1957): Mule and white-tailed tailed deer potentially compete.

Strategic Decision Making in Portfolio Management with Goal Programming Model

The t-test. What We Will Cover in This Section. A Research Situation

WELCOME! PURPOSE OF WORKSHOP

Semester Review Session

WORLD GROWTH AND INTERNATIONAL CAPITAL FLOWS IN THE XXI st CENTURY

^ or more missing lesser Value Part Additional Trunk Movements to Maintain Balance / Control upon Landing of Acro elements

Patent NO: 8,430,895. Revision (3) OPERATION INSTRUCTIONS. Fully Automatic AirGun by Air-Ordnance. HPA (High Pressure Compressed Air)

ARMENIA: Second Education Quality and Relevance Project (APL2) Procurement Plan. As of March 15, Measu rement Unit.

Clemco Industries Corp. ISO 9001 Certified

Transcription:

CS 4/584,, Ford-Fulkeron Mehod Flow maximizaion in a nework (graph) wih capaciie Baic idea: Find a pah from ource o arge ha ill ha flow capaciy (augmening pah) Add he maximum flow allowed along hi pah Repea unil David Maier 1 Iue 1. How do we accoun for flow by. Doe adding an augmening pah lead o a legal flow?. Will hi proce converge? 4. If o, will i lead o David Maier 1

CS 4/584,, Problem Formulaion Direced graph G = (N, E) Two pecial node: Aume for any node v N, here are pah Capaciy c(v,w) 0 If (v, w) no an edge, hen Flow f(v, w) can be f:c v w v w David Maier Deail Aume no uele flow beween node Poiive flow in only one direcion 1:0 :0 v w v w 5: : David Maier 4

CS 4/584,, Legal Flow f 1. f(v, w) c(v, w). f(v, w) = -f(w, v). For any v, Σ Σf(v, w) = 0 David Maier 5 Inpu = Oupu Conider node f(,1) + f(,1) + f(,8) + f(,) 4:8 : 1 8 1: :5 1 7:8 : 1 8 : 5:5 1 David Maier

CS 4/584,, Value of Flow f Toal flow ou of ource f = Σf(, w) :18 : 8 4:4 9 David Maier 7 Reidual Capaciy for a Flow Reidual Capaciy beween node v and w: r(u,v) = c(u,v) f(u,v) : 7 r(,7) = c(,7) f(,7) r(7,) = c(7,) f(7,) David Maier 8 4

CS 4/584,, Reidual Graph for Flow f R = (N, E ) E = {(v,w) r(v,w) } Capaciie i are reidual capaciie i for f David Maier 9 :5 0:0 1 0:15 :1 Example 0: :4 : 7 0: 8:0 4:15 :5 7: 5 1: 4: : 8 1 7 5 8 David Maier 5

CS 4/584,, Capaciy of a Pah Minimum capaciy edge Add a flow of along he pah :5 0:0 1 :1 0:15 0: :4 : 0: 7 8:0 4:15 :5 7: 5 1: 4: : 8 David Maier 11 Capaciy? I he Reul a Legal Flow? Skew ymmery? Conervaion? :4 0:15 David Maier 1

CS 4/584,, :5 :0 1 :15 :1 Example 0: 4:4 : 7 0: :0 4:15 :5 7: 5 1: 4: : 8 1 9 15 7 7 7 5 1 7 4 11 4 1 8 David Maier 1 :5 :0 1 :15 :1 Example 0: 4:4 : 7 0: :0 4:15 :5 7: 5 1: 4: : 8 1 9 4 7 7 15 7 7 5 8 David Maier 14 7

CS 4/584,, Would eem o: I i a Maximum Flow? Have a group of edge ha divide from and :5 :0 1 :15 :1 1: 4:4 : 0: :0 7 5:15 :5 7: 5 : 5: : 8 David Maier 15 Cu of a Graph Divide node of N ino wo group S, T :5 :0 1 :1 4:4 :15 1: : 7 0: :0 5:15 :5 7: 5 : 5: : 8 Ne flow acro cu Σf(v, w) Capaciy acro cu Σc(v, w) David Maier 1 8

CS 4/584,, Reul Ne flow acro any cu f i bounded above by Max-flow/min-cu heorem 1. f i maximum flow. reidual graph ha no. f i capaciy of David Maier 17 Conider reidual graph R wih no augmening pah S = {v } T = N - S Mu have Claim ha for (v,w) wih v S, T, mu have Suppoe no. Then r(v,w) > 0. Then R ha v w David Maier 18 9

CS 4/584,, Baic Implemenaion Sar wih 0 flow Repea Add flow along an augmening pah Doe i alway converge? Ye, if capaciie are ineger. Flow grow by a lea How long doe i ake? If you pick augmening pah arbirarily O( E f* ) David Maier 19 Sar wih 0 flow Edmond-Karp Algorihm Repea Add flow along an augmening pah wih Time complexiy no longer depend on value of maximum flow O( N E ) ime Inuiion: Lengh of hore pah o a node v in reidual graph Each addiion of flow increae diance o one node Diance o a node v can be increaed a mo David Maier 0

CS 4/584,, Edmond-Karp Example 5 0 1 9 15 1 7 7 4 7 15 0 5 5 8 David Maier 1 11