Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Collaborative: We define the Escape Problem as follows. We are given a directed graph G V, E) (picture a network of roads.) A certain

image text in transcribed

4. Collaborative: We define the Escape Problem as follows. We are given a directed graph G V, E) (picture a network of roads.) A certain collection of vertices X C V are designated as populated vertices, and a certain other collection S c V are designated as safe vertices. (Assume that X and S are disjoint.) In case of an emergency, we want evacuation routes from the populated vertices to the safe vertices. A set of evacuation routes is defined 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 the occupants of the populated vertices to "escape" to S without overly congesting any edge in G (a) [20 pointsl Given G, X, and S, show how to decide in polynomial time whether such a set of evacuation routes exists (b) [20 pointsl Suppose 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 ii) to say, "the paths do not share any vertices." With this new condition, show how to decide in polynomial time whether such a set of evacuation routes exists. Also provide an example with the same G, X, and S in which the answer is 'yes" to the question in (a) but "no" to the question in (b) 4. Collaborative: We define the Escape Problem as follows. We are given a directed graph G V, E) (picture a network of roads.) A certain collection of vertices X C V are designated as populated vertices, and a certain other collection S c V are designated as safe vertices. (Assume that X and S are disjoint.) In case of an emergency, we want evacuation routes from the populated vertices to the safe vertices. A set of evacuation routes is defined 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 the occupants of the populated vertices to "escape" to S without overly congesting any edge in G (a) [20 pointsl Given G, X, and S, show how to decide in polynomial time whether such a set of evacuation routes exists (b) [20 pointsl Suppose 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 ii) to say, "the paths do not share any vertices." With this new condition, show how to decide in polynomial time whether such a set of evacuation routes exists. Also provide an example with the same G, X, and S in which the answer is 'yes" to the question in (a) but "no" to the question in (b)

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

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

7. It is advisable to do favors for people whenever possible.

Answered: 1 week ago