subject

We have n activities. Each activity requires ti time to complete and has deadline di . We would like to schedule the activities to minimize the maximum delay in completing any activity; that is, we would like to assign starting times si to all activities so that max1 <= i <= n{âi} is minimized, where âi = fi â di is the delay for activity i and fi = si + ti is the finishing time for activity i. Note that we can only perform one activity at a given time (if activity i starts at time si , the next scheduled activity has to start at time fi).
For example, if t =< 10, 5, 6, 2 > and d =< 11, 6, 12, 20 >, then the optimal solution is to schedule the activities in the order < 2, 1, 3, 4 > to obtain starting/finishing times s/f =< 5/15, 0/5, 15/21, 21/23 > and achieve a maximum delay of 9 (for the third activity).
(A) State and prove the greedy choice property for this problem.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
question
Computers and Technology, 24.06.2019 09:00
Technician a says that a new replacement part is always good. technician b says that sometimes recent repair work will be the cause of a complaint. who is correct? a. both technicians a and b b. technician a c. technician b d. neither technician a nor b
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
The program below has been generalized to read a user's input value for hourlywage. run the program. notice the user's input value of 10 is used. modify that input value, and run again. generalize the program to get user input values for workhoursperweek and workweeksperyear (change those variables' initializations to 0). run the program. monthsperyear will never change, so define that variable as final. use the standard for naming final variables. ex: final int max_length
Answers: 2
You know the right answer?
We have n activities. Each activity requires ti time to complete and has deadline di . We would like...
Questions
question
Social Studies, 20.05.2021 23:10
question
Mathematics, 20.05.2021 23:10
question
Mathematics, 20.05.2021 23:10
question
Mathematics, 20.05.2021 23:10
question
Mathematics, 20.05.2021 23:10
question
Biology, 20.05.2021 23:10
question
English, 20.05.2021 23:10
question
History, 20.05.2021 23:10
question
Mathematics, 20.05.2021 23:10