subject

Given a set ={1,2,…,} of tasks, where requires pp units of processing time to finish once it has started. There is only one computer to run these tasks one at a time. Let cc be the completion time of task The goal is to minimize the average completion time 1 ∑ c =1 . For example, two tasks 1 and 2 have processing times p1= 3 and p2 = 5 respectively; running 1first results in the average completion time (3 + 8)/2 = 5.5, while running 2 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: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, king514
6. the is particularly susceptible to the effects of alcohol because it receives a large portion of total blood flow and has a high concentration of neurons. a. heart b. pancreas c. brain d. liver
Answers: 2
image
Computers and Technology, 22.06.2019 16:10, Olaf2018
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password. keep yourself loggedin when you leave your computer. don’t write your password down and leave it whereothers can find it. share your password with your friends. each time you visit a website, retain the cookies on your computer. use a long password with mixed characters.
Answers: 1
image
Computers and Technology, 23.06.2019 08:30, Calirose
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
image
Computers and Technology, 23.06.2019 15:00, Siris420
Plz ( which is an example of a good url?
Answers: 1
You know the right answer?
Given a set ={1,2,…,} of tasks, where requires pp units of processing time to finish once it has st...

Questions in other subjects:

Konu
Mathematics, 04.08.2020 17:01