Shutter Talk's office space has a shared kitchen facility. Unfortunately, it's early days, and there is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Shutter Talk's office space has a shared kitchen facility. Unfortunately, it's early days, and there is not yet sufficient funding to hire staff responsible for keeping the kitchen cleaned up. Therefore, the first task for the newbie (that's you!) is to design an algorithm to assign each of the n members of Shutter Talk's technical staff into a kitchen patrol rotation. Specifically, your job is to create an n day rotation for the days {d, d2,..., dn} in which each staff member is responsible for kitchen patrol exactly once. There's a wrinkle, of course; a given staff member is not available every day, either because of vacation or because of important technical deadlines. That is, for each member of the staff, {81, 82,...,sn}, there is a subset of the days when the staff member is not available for kitchen patrol. You have these "vacation" days accessible to you before starting your algorithm. A feasible schedule is an assignment of each member of the staff to perform kitchen patrol on one of the n days such that the staff member is available on the scheduled day. (a) [15 points] Describe a polynomial time algorithm that determines whether such a feasible schedule is possible and, if it is, outputs the schedule. (b) [5 points] Give an asymptotically tight upper bound on the runtime of your algorithm. Briefly explain. Shutter Talk's office space has a shared kitchen facility. Unfortunately, it's early days, and there is not yet sufficient funding to hire staff responsible for keeping the kitchen cleaned up. Therefore, the first task for the newbie (that's you!) is to design an algorithm to assign each of the n members of Shutter Talk's technical staff into a kitchen patrol rotation. Specifically, your job is to create an n day rotation for the days {d, d2,..., dn} in which each staff member is responsible for kitchen patrol exactly once. There's a wrinkle, of course; a given staff member is not available every day, either because of vacation or because of important technical deadlines. That is, for each member of the staff, {81, 82,...,sn}, there is a subset of the days when the staff member is not available for kitchen patrol. You have these "vacation" days accessible to you before starting your algorithm. A feasible schedule is an assignment of each member of the staff to perform kitchen patrol on one of the n days such that the staff member is available on the scheduled day. (a) [15 points] Describe a polynomial time algorithm that determines whether such a feasible schedule is possible and, if it is, outputs the schedule. (b) [5 points] Give an asymptotically tight upper bound on the runtime of your algorithm. Briefly explain.
Expert Answer:
Related Book For
International Marketing And Export Management
ISBN: 9781292016924
8th Edition
Authors: Gerald Albaum , Alexander Josiassen , Edwin Duerr
Posted Date:
Students also viewed these programming questions
-
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...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
0 out of 3 points On 30 June 2019, Asahi Ltd has entered into an agreement to lease a beer-making machine to Hite Ltd. The lease agreement details are as follows: . lease term is 5 years estimated...
-
Determine (a) The distance a so that the reaction at support B is minimum, (b) The corresponding reactions at the supports. 1800 N/m 600 N/m
-
7 Solve variation equations J^(29) If y varies directly with x and y=-90 when x=9, find x when y=-80. Write and solve a direct variation equation to find the answer.
-
Show that if \(\mu_{i j}=\mu+\alpha_{i}+\beta_{j}\), the mean of the \(\mu_{i j}\) (summed on \(j\) ) is equal to \(\mu+\alpha_{i}\), and the mean of \(\mu_{i j}\) (summed on \(i\) and \(j\) ) is...
-
After numerous campus interviews, Greg Thorpe, a senior at Great Northern College, received two office interview invitations from the Baltimore offices of two large firms. Both firms offered to cover...
-
How does Total Productive Maintenance (TPM) contribute to the implementation of Industry 4.0 concepts, such as the Internet of Things (IoT), predictive analytics, and smart manufacturing, to enhance...
-
Explain what are the Policy Instruments for both consumers and producers? What kind of trade policy governments should adopt
-
Describe the key principles of formal negotiations as part of a win-win strategy.
-
What can a salesperson do when a prospect says no, and they lose a sale or cannot close a sale?
-
What are the different customer communication styles that a salesperson needs to be aware of? Why?
-
a. What is the difference between operating income and net income? b. Why is net income called the bottom line? c. What is the difference between net income and cash flow? d. Is financial condition...
-
What factors should be considered prior to using low-price tactics?
-
14. Graph the following functions. Determine and label all key features. a) y=-x(x- 3)(x+4) c) y= 3*+2 -1 b) y=(x-2) (x+ 3)'
-
During registration at Tech every quarter, students in the Department of Management must have their courses approved by the departmental advisor. It takes the advisor an average of 4 minutes...
-
The Supreme Canning Company (the true name of the company is disguised) is an independent US packer of tomato paste and other tomato products (whole peeled tomatoes, chopped tomatoes, tomatoes and...
-
GG Farm Machinery Company is a French manufacturer of a specialized piece of machinery. Marcel Ger, the managing director of GG, was convinced there was a market in Australia for his machine and he...
-
How can the international marketer overcome the incompatibility of research methods usable in different countries when doing a comparative study?
-
Financial items for George Karatsis IT Services on 31 May 2024 are presented below in alphabetical order. Required (a) Prepare a statement of financial position similar to the one in figure 2.2. (b)...
-
Rebecca Tallance operates a rent a dress business from her home. She keeps her accounting records for business activities completely separate from her records for personal activities. At 30 June...
-
During the year ended 30 June 2024, Skilled Services, a provider of temporary secretary personnel, had collected receipts from clients for a total value of \($250000.\) Wages of \($136000\) had been...
Study smarter with the SolutionInn App