subject

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 ? v are designated as populated vertices, and a certain other collection s ? 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) given g, x, and s, show how to decide in polynomial time whether such a set of evacuation routes exists.(b) 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 (iii) 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).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Write a function called checkfactor that takes two arrays of positive numbers, firstnumberrow and secondnumberrow. checkfactor checks if the first entry in firstnumberrow is divisible by the first entry in secondnumberrow, and performs the same operation on the next array elements until all entries have been checked. all the numbers are positive and the number of entries in the arrays are the same. the function should return the identified divisible numbers in two row arrays named firstdivisible and seconddivisible.restrictions: branches or loops should not be used. the code must use the internal mod and logical functions.hint: the mod function should be used to determine if two numbers are divisible. ex: for num1 and num2 if mod(num1,num2) is 0, then the two numbers are divisible.this is matlab
Answers: 2
You know the right answer?
We define the escape problem as follows. we are given a directed graph g = (v, e) (picture a network...
Questions
Questions on the website: 13722367