subject

TriathlonCompetitor Scheduling You are trying to schedule triathlon contestants so that the triathlon completes as early in the day as possible. (The triathlon completes when all the contestants are done.) Each contestant has a projected swimming time, running time, and biking time. Since the pool is very small only one contestant can be in the pool at a time. Any number of contestants can be biking and running at the same time. The contestants first swim, then bike, and finally run. Assuming that each contestant will complete each event in their projected time, what is the best order to send the people out, if you want the whole competition to be over as soon as possible? That is, give and efficient algorithm that produces a schedule whose completion time is as early as possible. A. Specify an efficient greedy algorithm to achieve the goal of earliest completion of the competition.
B. Prove your algorithm always finds the optimal solution.
C. Analyze your algorithm's complexity.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:50
Is one of the most injurious events that can happen to a person in a crash.
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
Draw the resistor’s voltage and current phasors at t=15ms. draw the vectors with their tails at the origin. the orientation of your vectors will be graded. the exact length of your vectors will not be graded.
Answers: 2
question
Computers and Technology, 24.06.2019 00:20
Describe a data structures that supports the stack push and pop operations and a third operation findmin, which returns the smallest element in the data structure, all in o(1) worst-case time.
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
You know the right answer?
TriathlonCompetitor Scheduling You are trying to schedule triathlon contestants so that the triathlo...
Questions
question
History, 21.01.2022 20:30
question
French, 21.01.2022 20:30
question
English, 21.01.2022 20:30
question
English, 21.01.2022 20:40
Questions on the website: 13722367