Answered step by step
Verified Expert Solution
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
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, t e 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 s-t flow f for G, and an edge e', and decides if e' is a flow-stopper. Your algorithm should have a runtime of O(IE ce'), where cef is the capacity of e'. 2. Let G (V, E) be a directed graph with s, t e 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 s-t flow f for G, and an edge e', and decides if e' is a flow-stopper. Your algorithm should have a runtime of O(IE ce'), where cef is the capacity of eStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started