Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For problems that require you to provide an algorithm, you must give the following: 1. a precise description of the algorithm in English and, if

image text in transcribed

For problems that require you to provide an algorithm, you must give the following:

1. a precise description of the algorithm in English and, if helpful, pseudocode,

2. a proof of correctness,

3. an analysis of running time and space.

2. Let G = (V, E) be a directed graph with s,te V and positive edge capacities. We call an edge a flow-stopper if its deletion would shrink the maximum flow from s to t. (a) Prove or disprove the following statements: i. If e is a flow-stopper, then there is a minimum s-t cut that it crosses. ii. If we can find a minimum s-t cut that e crosses, then we know e is a flow-stopper. (b) Design an alogrithm that takes in a graph G (with all of the properites above), a max st flow f for G, and an edge e', and decides if e' is a flow-stopper. Your algorithm should have a runtime of O(|E| - cel), where cel is the capacity of e'. 2. Let G = (V, E) be a directed graph with s,te V and positive edge capacities. We call an edge a flow-stopper if its deletion would shrink the maximum flow from s to t. (a) Prove or disprove the following statements: i. If e is a flow-stopper, then there is a minimum s-t cut that it crosses. ii. If we can find a minimum s-t cut that e crosses, then we know e is a flow-stopper. (b) Design an alogrithm that takes in a graph G (with all of the properites above), a max st flow f for G, and an edge e', and decides if e' is a flow-stopper. Your algorithm should have a runtime of O(|E| - cel), where cel is the capacity of e

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions