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:10
Figure abcde is a regular pentagon. segment ae is located at a (2, 1) and e (4, 1). what is the perimeter of abcde? 4 units 6 units 8 units 10 units
Answers: 1
question
Mathematics, 21.06.2019 21:00
What is the value of m in the equation 1/2 m - 3/4n=16 when n=8
Answers: 1
question
Mathematics, 21.06.2019 23:00
Bobs burgers bam has a special deal of 4 hamburgers for $6. at that rate, how much should it cost to buy 3 hamburgers?
Answers: 1
question
Mathematics, 21.06.2019 23:30
Solve the equation: x - 9 = -6 + 5 a. 21 b. 7 c. 14 d. 2
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
Mathematics, 29.08.2019 00:30
Questions on the website: 13722361