Algorithm to produce schedule for least completion time

Assignment Help Data Structure & Algorithms
Reference no: EM1366994

Your friend is working as a camp counselor, and he is in charge of organizing
activities for a set of junior-high-school-age campers. One of his plans is the following minitriathlon exercise: each contestant must swim 20 laps of a pool, then bike 10 miles, then run 3 miles. The plan is to send the contestants out in a staggered fashion, via the following rule: the contestants must use the pool one at a time. In other words, first one contestant swims the 20 laps, gets out, and starts biking. As soon as the first person is out of the pool, a second contestant begins swimming the 20 laps; as soon as he or she is out and starts biking, a third
contestant begins swimming... and so on.) Each contestant has a projected swimming time (the expected time it will take him or her to complete the 20 laps), a projected biking time (the expected time it will take him or her to complete the 10 miles of bicycling) and a projected running time (the time it will take him or her to complete the 3 miles of running). Your friend wants to decide on a schedule for the triathlon: an order in which to sequence the starts of the contestants. Let's say that the completion time of a schedule is the earliest time at which all contestants will be finished with all three legs of the triathlon, assumning that they each spend exactly their projected swimming, biking, and running times on the three parts. (Again, note that participants can bike and run simultaneously, but at most one person can be in the pool at any time.) What's the best order for sending people out, if one wants the whole competition to be over as early as possible? More precisely, give an efficient algorithm that produces a schedule whose completion time is as small as possible.

Reference no: EM1366994

Questions Cloud

Arc price elasticity of demand : Evaluate arc price elasticity of demand between prices of $4 and $6 and compute the point price elasticity at the price of $6 state the significance of the coefficients.
Importance of interdisciplinary collaboration : Describe the significance of interdisciplinary collaboration in meeting the health care needs of families. How is that collaboration distinct from that which takes place in the acute care or ambulatory setting?
Pros and cons of boutique healthcare : Describe the pros and cons of boutique healthcare. Go back and critique the positions and recognize strengths and weaknesses.
Prepare the entry to record the sale of the receivables : On March 3, Lisa Ceja Appliances sells $700,000 of its receivables to Horatio  Factors Inc. Horatio Factors assesses a finance charge of 3% of the amount of receivables  sold.
Algorithm to produce schedule for least completion time : What is the best order for sending people out, if one wants whole competition to be over as early as possible? More precisely, provide efficient algorithm which produces schedule whose completion time is as small as possible.
Decision to market the non-profit entity : In a 1- to 2- page paper defend the decision to market the non-profit entity. In this paper, you are to argue for the mission of the organization.
Create work breakdown structure and network diagram : Work Breakdown Structure (Gantt Chart) and Network Diagram According to the PMBOK Guide also create the predecessor relationships to create a network diagram
Determine the dollar size of the issue : Your firm needs to increase $10 million. Suppose that flotation costs are expected to be $15 per share and that the market price of the stock is $120,
Oversight and funding of healthcare services : The role of the United States Government in both the oversight and funding of healthcare services.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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