Ask Data Structure Expert

Problem 1:

Let G = (V, E,c,s,t) be a flow network with integer capacities, and f be a feasible flow with integer values. Suppose there is a edge e with head s and such that f(e) = 1. Describe an O(|V| + |E|) algorithm (An English explanation may be enough) that produces another feasible flow f' with |f|f'(e) = 0.

Be precise though: if you use an algorithm from the texbook, explain which graph is the input of the algorithm. Justify the overall running time and correctness.

Problem 2:

A multiple source-sink network is a tuple G = (V, E, c, S, T), where V is a set of vertices, E is a set of directed edges (parallel edges are allowed), S ⊂ V is the set of sources, and T ⊂ V is the set of sinks, c is a capacity function: c: E -> Z+. Also, S ∩ T = 0. That is, sources are distinct from sinks.

A function f : E -> R+ is called a flow if the following three conditions are satisfied:

1.  conservation of flow at interior vertices: for all vertices u not in S U T,

1265_Multiple source-sink network.png

2.  capacity constraints: f ≤ c pointwise: i.e. for all e ∈  E,

f (e) ≤ c(e) .

Assume that non-negative quantities ps, for s ∈ S, and qt, for t ∈ T, ere given. The goal of this problem is to determine if a valid flow exists such that for all s S:

1985_Multiple source-sink network1.png

and such that for all t ∈ T:

237_Multiple source-sink network2.png

Use Network Flows to give a polynomial-time algorithm for this decision problem (the answer is YES or NO). Hint: read chapter 26.1 of the textbook.

Problem 3:

The edge connectivity of an undirected multigraph is the minimum number k of edges that must be removed to disconnect the graph. For example, the edge connectivity of a tree is 1, and the edge connectivity of a cyclic chain of vertices is 2. Show how to determine the edge connectivity of an undirected multigraph G = (V, E) by running a maximum-flow algorithm on at most |V| flow networks, each having O(|V|) vertices and O(|E|) edges.

Data Structure, Computer Science

  • Category:- Data Structure
  • Reference No.:- M91067502

Have any Question?


Related Questions in Data Structure

Data Communication Delivering Information anywhere

Topic: Data Communication Delivering Information anywhere. Write a 9-12 pages paper in which you: Present an overview of the origin and history of the concept. Describe the current use of and attitude toward the concept. ...

Problem regarding the management program

Problem: Looks like its just adding a save and load feature to the same file you sent me for python 3.5 Until now, you have had to leave your team management program running on your computer indefinitely since you did no ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As