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:
Answer rating: 100% (QA)
a Polynomial Time Algorithm To determine whether a feasible schedule is possible and generate the sc... View the full 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
-
1. Give three examples of life-critical software applications. 2. Give an example of a software application where adaptability can mean the difference between a prolonged sales lifetime and...
-
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 the reactions at the beam supports for the given loading when wO = 400 lb/ft. 300 lb/ft A. 5 ft
-
On January 1, 2020, Primo plc had the following equity accounts. Share CapitalOrdinary (10 par value, 75,000 shares issued and outstanding) ..............................750,000 Share PremiumOrdinary...
-
Spell out three differences between contracts that are offered by microfinance institutions and standard contracts offered by commercial banks.
-
In Figure a sled is held on an inclined plane by a cord pulling directly up the plane. The sled is to be on the verge of moving up the plane. In Fig. 6-34, the magnitude F required of the cord's...
-
Winter Company earned revenues of $150,000 in cash and $200,000 on account during 2022. Of the $200,000 on account, $60,000 was collected in cash in 2022 and the rest in 2023. The company incurred...
-
Sauls Company gathered the following reconciling information in preparing its December 31, 2022 bank reconciliation: Cash balance per books, 12/31 Deposits in transit $10,600 1,300 Notes receivable...
-
Describe the microsystem change, such as delayed in rapid response team that occurred and the implications that were realized on the meso- and macrosystems within the organization. What knowledge,...
-
Given the following information pulled from a firm's financial statements, what is their Asset Turnover ratio? (round to the nearest two decimal places; 1.037 = 1.04) Total Current 5,093,916...
-
Meat Packers, Incorporated (MPI) preserves and packages various kinds of meats for transportation to grocery stores. To prepare and transport each meat package to a grocery store, the firm must...
-
Find the vertex and focus of the parabola from the given equation and select its graph. 2x+y = 0 a. Vertex: (0,0) Focus: (-2, 0) : (-1/1, 0) -10 -8 -8 4 c. Vertex: (0,0) Focus: (0, 2) -2 10 8 6 2 -2...
-
5. (40 points) Program HW. Huffman source compression for two sequences. (a) (5 points) Generate Source A with length 1000 which is an IID sequence, each with X~ Bern(1/4) for Vt (b) (5 points)...
-
Q2 Present at least the results of three scientific investigations from professional journals that demonstrate the validity and reliability of carrying out the study of the topic: "The activity most...
-
Which provision could best be justified as encouraging small business? a. Ordinary loss allowed on $ 1244 stuck. b. Percentage depletion. c. Domestic production activates deductions. d. Interest...
-
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?
-
Identify possible causes for (1) a favorable materials price variance; (2) an unfavorable materials price variance; (3) a favorable materials quantity variance; and (4) an unfavorable materials...
-
Standard cost variances can usually be broken down into two basic types of variances. Identify and describe these two types of variances.
-
Explain the net sales volume variance and list its components.
Study smarter with the SolutionInn App