subject
Mathematics, 11.11.2020 17:50 jr928718

Given a set SS = {tt1,tt2, … ,ttnn} of tasks, where ttii requires ppii units of processing time to finish once it has started. There is only one computer to run these tasks one at a time. Let ccii be the completion time of task ttii The goal is to minimize the average completion time 1nn ∑ ccii nnii=1 . For example, two tasks tt1 and tt2 have processing times pp1= 3 and pp2 = 5 respectively; running tt1first results in the average completion time (3 + 8)/2 = 5.5, while running tt2 first results in the average completion time (5 + 8)/2 = 6.5. (1) Describe the greedy choice property and the optimal substructure in this problem,
(2) Design a greedy algorithm to solve this problem,
(3) Analyze the complexity of your algorithm.

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 15:30
You work for a lender that requires a 20% down payment and uses the standard depth to income ratio to determine a person‘s a little eligibility for a home loan of the following choose the person that you would rate the highest on their eligibility for a home loan
Answers: 1
question
Mathematics, 21.06.2019 16:10
The number of hours per week that the television is turned on is determined for each family in a sample. the mean of the data is 37 hours and the median is 33.2 hours. twenty-four of the families in the sample turned on the television for 22 hours or less for the week. the 13th percentile of the data is 22 hours. approximately how many families are in the sample? round your answer to the nearest integer.
Answers: 1
question
Mathematics, 21.06.2019 22:00
You can ride your bike around your block 6 times and the whole neighborhood 5 times in 16 minutes. you can ride your bike around your block 3 times and the whole neighborhood 10 times in 23 minutes. how long does it take you to ride around the neighborhood?
Answers: 2
question
Mathematics, 21.06.2019 23:40
Select the correct answer what is the 10th term of the geometric sequence 3,6, 12, 24,48 a. 512 b. 3,072 c. 768 d. 1,536
Answers: 2
You know the right answer?
Given a set SS = {tt1,tt2, … ,ttnn} of tasks, where ttii requires ppii units of processing time to f...
Questions
question
English, 06.10.2020 08:01
question
History, 06.10.2020 08:01
question
Biology, 06.10.2020 08:01
question
Mathematics, 06.10.2020 08:01
Questions on the website: 13722367