You're helping to organize a class on campus that has decided to give all its students...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You're helping to organize a class on campus that has decided to give all its students wireless laptops for the semester. Thus there is a collection of n wireless laptops; there is also have a collection of n wireless access points, to which a laptop can connect when it is in range. The laptops are currently scattered across campus; laptop & is within range of a set S, of access points. We will assume that each laptop is within range of at least one access point (so the sets Se are nonempty); we will also assume that every access point p has at least one laptop within range of it. To make sure that all the wireless connectivity software is working correctly, you need to try having laptops make contact with access points in such a way that each laptop and each access point is involved in at least one connection. Thus we will say that a test set T is a collection of ordered pairs of the form (e, p), for a laptop & and access point p, with the properties that (i) If (e. p) e T, then & is within range of p (i.e., pe S₁). (ii) Each laptop appears in at least one ordered pair in T. (iii) Each access point appears in at least one ordered pair in T. This way, by trying out all the connections specified by the pairs in T, we can be sure that each laptop and each access point have correctly functioning software. The problem is: Given the sets S, for each laptop (i.e., which laptops are within range of which access points), and a number k, decide whether there is a test set of size at most k. Example. Suppose that n= 3; laptop 1 is within range of access points 1 and 2; laptop 2 is within range of access point 2; and laptop 3 is within range of access points 2 and 3. Then the set of pairs (laptop 1, access point 1), (laptop 2, access point 2), (laptop 3, access point 3) would form a test set of size 3. (a) Give an example of an instance of this problem for which there is no test set of size n. (Recall that we assume each laptop is within range of at least one access point, and each access point p has at least one laptop within range of it.) (b) Give a polynomial-time algorithm that takes the input to an instance of this problem (including the parameter k) and decides whether there is a test set of size at most k. You're helping to organize a class on campus that has decided to give all its students wireless laptops for the semester. Thus there is a collection of n wireless laptops; there is also have a collection of n wireless access points, to which a laptop can connect when it is in range. The laptops are currently scattered across campus; laptop & is within range of a set S, of access points. We will assume that each laptop is within range of at least one access point (so the sets Se are nonempty); we will also assume that every access point p has at least one laptop within range of it. To make sure that all the wireless connectivity software is working correctly, you need to try having laptops make contact with access points in such a way that each laptop and each access point is involved in at least one connection. Thus we will say that a test set T is a collection of ordered pairs of the form (e, p), for a laptop & and access point p, with the properties that (i) If (e. p) e T, then & is within range of p (i.e., pe S₁). (ii) Each laptop appears in at least one ordered pair in T. (iii) Each access point appears in at least one ordered pair in T. This way, by trying out all the connections specified by the pairs in T, we can be sure that each laptop and each access point have correctly functioning software. The problem is: Given the sets S, for each laptop (i.e., which laptops are within range of which access points), and a number k, decide whether there is a test set of size at most k. Example. Suppose that n= 3; laptop 1 is within range of access points 1 and 2; laptop 2 is within range of access point 2; and laptop 3 is within range of access points 2 and 3. Then the set of pairs (laptop 1, access point 1), (laptop 2, access point 2), (laptop 3, access point 3) would form a test set of size 3. (a) Give an example of an instance of this problem for which there is no test set of size n. (Recall that we assume each laptop is within range of at least one access point, and each access point p has at least one laptop within range of it.) (b) Give a polynomial-time algorithm that takes the input to an instance of this problem (including the parameter k) and decides whether there is a test set of size at most k.
Expert Answer:
Answer rating: 100% (QA)
Solution a To create an instance where there is no test set of size n we can set up a scenario where ... View the full answer
Related Book For
Introduction to Operations Research
ISBN: 978-1259162985
10th edition
Authors: Frederick S. Hillier, Gerald J. Lieberman
Posted Date:
Students also viewed these computer network questions
-
On January 1, you observe that the 2-year note yields 2.5% and the 3-year note rate is 3.3%. Market participants are certain that the real rate will remain unchanged at 2.9% over the next three...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Googles ease of use and superior search results have propelled the search engine to its num- ber one status, ousting the early dominance of competitors such as WebCrawler and Infos- eek. Even later...
-
Miami Tropical stock has a beta of 1.25. The risk-free rate of return is 4.34 percent and the market risk premium is 9.02 percent. What is the expected rate of return on this stock? 10.23 percent...
-
How much fission take place per second in a 200-MW reactor? Assume 200MeV is released per fission.
-
The following diagram shows a row of post boxes with the owners names beneath. Five parcels, one for the owner of each box, have arrived at the post office. If one parcel is randomly placed in each...
-
Your colleague is excited about your good fortune (Problem 3.1) at work, but she only got the promise of a watch or \($300\) cash. You convince her that she will be better in the long run by just...
-
Presented below are the 2013 income statement and comparative balance sheets for Santana Industries. Additional information for the 2013 fiscal year ($ in thousands): 1. Cash dividends of $1,000 were...
-
5. The picture to the left shows a bucket connected to a massless rope, which runs over a massless, frictionless pulley. A man standing inside the bucket pulls the rope downwards in order to raise...
-
Prime Corporation acquired 80 percent of Steak Companys voting shares on January 1, 20X4, for $280,000 in cash and marketable securities. At that date, the noncontrolling interest had a fair value of...
-
The following selected accounts and balances are from the adjusted trial balance of Grey Company on December 31, 2020 (their year-end). These are not all income statement accounts. Sales $900,500...
-
Suppose the hourly marginal revenue product of all workers in a particular labor market is MRP L = 20 - L, where L = the number of workers. The hourly wage rate for women in this market is W = $5.75....
-
One economist has observed that by age 20, the cognitive and noncognitive skills of people are set in such a way that those who are not good at learning new skills or concepts cannot be helped much...
-
Television commentator D makes the following statement: The fact that greater trade increases overall national income tells us all we need to know: greater trade is good for our society. Comment...
-
Television commentator A makes the following statement: Economic theory shows that reducing the barriers to international trade will, in time, make everyone in society better off. Comment.
-
The Brain Surgeons Brotherhood faces an own-wage elasticity of demand for their labor that equals -0.1. The Dog Catchers International faces an own-wage elasticity of demand for their labor that...
-
The price-demand function for a product manufactured in a company is given by P = 100-2x and its total cost function is given by C(x) = 300 + 8x What is the marginal profit of production of 35 units....
-
On October 1, 2014, the Dow Jones Industrial Average (DJIA) opened at 17,042 points. During that day it lost 237 points. On October 2 it lost 4 points. On October 3 it gained 209 points. Deter-mine...
-
For each of the four assumptions of linear programming discussed in Sec. 3.3, write a one-paragraph analysis of how well it applies to each of the following examples given in Sec. 3.4. (a) Reclaiming...
-
You are given the decision tree below, where the numbers in parentheses are probabilities and the numbers on the far right are payoffs at these terminal points. Analyze this decision tree to obtain...
-
The Dorwyn Company has two new products that will compete with the two new products for the Wyndor Glass Co. (described in Sec. 3.1). Using units of hundreds of dollars for the objective function,...
-
What is the change in value for this security over the four quarters recorded in the highlowclose graph?
-
Which of the 10 years had the most and least variability between the maximum sales of womens clothing and the minimum for mens, and what were those ranges?
-
What happened to the average sales figures for jewelry over the 10-year period?
Study smarter with the SolutionInn App