Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question

We define the Escape Problem as follows. We are given a directed graph G = (V; E) (picture a network of roads.) A sure collection of vertices X V is designated as populated vertices and a positive other collection S V is designated as safe vertices. (Assume that X and S are disjoint.) In case of an emergency, we want migration routes from the populated vertices to the safe vertices. A set of evacuation routes is de?ned as a set of paths in G such that

(i) each vertex in X is the tail of one path,

(ii) the last vertex on each path lies in S, and

(iii) The paths do not share any edges. Such a set of paths gives way for occupants of the populated vertices to "escape" to S without overly congesting any edge in G.

(a) Given G, X, and S, shows how to decide in polynomial time whether such a set of evacuation routes exists.

(b) Assume we have exactly the same problem as in (a), but we want to enforce an even stronger version of the "no congestion" condition (iii). Thus we change (iii) to say, "The paths do not share any vertices." With this new state, show how to decide in polynomial time whether such a set of evacuation routes exists. Also provide an instance with the same G, X, and S in that the answer is "yes" to the question in (a) but "no" to the question in (b).

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9133813

Have any Question?


Related Questions in Computer Engineering

What are the similarities and differences of hierachical

What are the similarities and differences of hierachical, Network, and Object Oriented Database Models.

What does smokeping do and why is that functionality

What does Smokeping do, and why is that functionality important in a datacenter? When setting up Smokeping, how do you add systems in to be monitored? How do you go about adding an alert (both setting up a new alert and ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

To review stacksdirections write java code that prompts the

To review stacks Directions : Write Java code that prompts the user for a string and tells them if the grouping characters in that string are balanced. Grouping characters are ( and ), [ and ], and { and }. I got the bas ...

Come with an app that only runs in horizontal orientation

Come with an app that only runs in horizontal orientation. It displays "This is fun!" on the top left corner of the screen with no margin either from the top or the left.

In system analysisdiscuss and give suggestions or comments

In system analysis Discuss and give suggestions or comments for the following questions: 1. Discuss about the project plan (activities and scheduling) 2. What are the new tools and strategies used in project plan or mana ...

Kelly wants to view employees bonuses as a percentage of

Kelly wants to view employees' bonuses as a percentage of their base salary. In cell G7, enter a formula without using a function that divides Joan's total bonus (cell E7) by her base salary (cell B7).

For recursion trees why sometime there are 2 recursion

For recursion trees, why sometime there are 2 recursion trees shown. why sometimes the work per level decreases from level to level, and it is constant in each level. The recursion tree shown for merge sort has same tota ...

What is the difference between accounting costs and

What is the difference between accounting costs and economic costs? Why do economic costs include both explicit (revealed and expressed) costs and implicit (present but not obvious) costs? What are the differences betwee ...

Question suppose you are building a java application for

Question : Suppose you are building a Java application for storing the names and ages of children in a family. Describe the strategy that you would use in order to determine the data types you would need for your applica ...

  • 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