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 12:30
Aconvex octagon has interior angles that measures 73 degrees, 172 degrees, 132 degrees, 59 degrees, 154 degrees, 163 degrees, x degrees, 2x degrees find the value of the missing angles
Answers: 3
question
Mathematics, 21.06.2019 14:30
What are the coordinates of the hole in the graph of the function f(x) ? f(x)=x2βˆ’9xβˆ’3 enter your answer in the boxes.
Answers: 1
question
Mathematics, 21.06.2019 20:00
Can someone factor this fully? my friend and i have two different answers and i would like to know if either of them is right. you in advance. a^2 - b^2 + 25 + 10a
Answers: 1
question
Mathematics, 22.06.2019 00:00
Which statement best describes how to determine whether f(x) = x squared- x +8 is an even function ?
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
History, 22.11.2019 22:31
question
Mathematics, 22.11.2019 22:31