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

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 18:00, amyrose90999
Aman is 6 feet 3 inches tall. the top of his shadow touches a fire hydrant that is 13 feet 6 inches away. what is the angle of elevation from the base of the fire hydrant to the top of the man's head?
Answers: 2
image
Mathematics, 21.06.2019 19:30, kktiger14
Find the actual dimensions of the box. the side length are in meters and integers. the surface area of the box is 104 m2 and volume of the box is 60 m3.
Answers: 1
image
Mathematics, 21.06.2019 21:30, hwest98
Aye asap pls ! markin da brainiest too ! btw da step choices are all add, distribute, divide, n subtract
Answers: 2
image
Mathematics, 21.06.2019 22:00, jessejames48
The coordinates r(1, -3), s(3, -1) t(5, -7) form what type of polygon? a right triangle an acute triangle an equilateral triangle an obtuse triangle
Answers: 1
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 in other subjects:

Konu
Mathematics, 13.07.2019 17:30
Konu
Mathematics, 13.07.2019 17:30