Mathematics
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.

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 20:00, anthonybowie99
Write the point-slope form of the line passing through (2, -12) and parallel to y=3x.
Answers: 3
image
Mathematics, 21.06.2019 22:10, markayla101326
In which direction does the left side of the graph of this function point? f(x) = 3x3 - x2 + 4x - 2
Answers: 2
image
Mathematics, 21.06.2019 22:30, wednesdayA
Ineed big ! the cost of a school banquet is $25 plus $15 for each person attending. create a table, sketch the graph, and write an equation in slope-intercept and point-slope form that gives total cost as a function of the number of people attending. what is the cost for 77 people?
Answers: 1
image
Mathematics, 21.06.2019 23:30, ameliaduxha7
What is the explicit rule for the sequence in simplified form? −1,−4,−7,−10,−13… an=4−5n an=−4−3n an=2−3n an=−6−5n
Answers: 1
Do you know the correct 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
Biology, 24.02.2021 01:00