Questionwe define the escape problem as follows we are

Assignment Help Computer Engineering
Reference no: EM13349448

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).

Reference no: EM13349448

Questions Cloud

Case studythe banking landscape has undergone a lot of : case studythe banking landscape has undergone a lot of changes in the last 10 years in mauritius. the state bank of
Question beststeel ltd has been the biggest metal pressing : question beststeel ltd has been the biggest metal pressing machine manufacturer in australia since 2005 when it
Question 1cut-throat tourism and hospitality organisations : question 1cut-throat tourism and hospitality organisations endeavour to deliver a high level of service excellence to
Question 1 both indirect labor and direct labor are : question 1 both indirect labor and direct labor are recorded in work in process inventory account as the product2 both
Questionwe define the escape problem as follows we are : questionwe define the escape problem as follows. we are given a directed graph g v e picture a network of roads. a
Question lee corporation is an american company that : question lee corporation is an american company that started operations on january 1 2004. it has just completed its
Questionyour company is in the method of upgrading the : questionyour company is in the method of upgrading the network infrastructure that involves moving from a 10baset to
Question annie carla and betty formed the abc partnership : question annie carla and betty formed the abc partnership. they contributed the subsequent assets.annie contributed
Question 1a by means of service organisation of your choice : question 1a by means of service organisation of your choice talk about the strategies that could be implemented for

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a program that reads a sequence of input values

Write a program that reads a sequence of input values and displays a bar chart of the values in data.

  Developing system for the classification problem

client asks your company in order to develop a system for classification problem (for example: medical insurance fraud detection). Because of user requirements, he requires the final developed system to be able to offer the explanations about syst..

  Consider the fundamentals of object oriented programming

give an accompanying illustration for each of the fundamentals(example, code sample, etc.)Note: Try to use Java and not C++ for examples.

  What are some of the changes to technology

How has this technology impacted the development of new software? Even if the technology change is hardware related, software development can be impacted.

  Encode the same sequence using run-length

Encode the following bit sequence using run-length encoding with 4-bit codes.

  What is the level of the tree

What are the indices for all nodes at level four in the tree.What is the level of the tree.

  Write down a not so bad cardiac simulator

The user has to be prompted to type in a 3 digit number, and then the program should print to the screen whatever the CARDIAC Instruction Decoder box would show had that been the instruction.

  Modify the pseudocode and optimize

offer valid reasons why the pseudocode is now more efficient.

  What is the goal to exercises in the bluej textbook

What is the goal to exercises in the BlueJ textbook? For the remains of the course, you will answer the questions posed by BlueJ textbook-you will not require downloading an additional worksheet and filling it in as you did for first four units.

  Functional specifications for the software at workplace

what are two of the most important methods to examine and why.

  Html and javascript

Write down the HTML and JavaScript: A 3x3 2D array: Arrays can have anything, even other arrays. In the JavaScript, 2D arrays are assigned with the single array, where each element consists of an array.

  What is equation in java

What is equation in Java

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd