subject

For each 1 <= i<= njob jiis given by two numbers diandpi, where diis the deadline and piis the penalty. The length of each job is equal to 1 minuteand once the job starts it cannot be stopped until completed. We want to schedule all jobs, but only one job can run at any given time. If job i does not complete on orbefore its deadline, we willpay its penalty pi. a)Design a greedy algorithm to find a schedule such that all jobs are completed and the sum of all penaltiesis minimized. Provide averbal description and pseudocode. b)What is the running time of your algorithm?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
In which phase does software coding and testing happen in the spiral model? the spiral model does not have a separate testing phase. both, software coding and testing occurs during the phase.
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
How to launch an app: steps to be successful? launching an app is a great idea, but it’s not that easy as we supposed to think. the majority of mobile applications don’t generate revenue because companies aren’t ready to be competitive. referring to our experience in successfully building and launching apps we hope to you omit these difficulties. we are going to talk about ideas, marketing, testing your product, its development, distribution and support. you will learn 8 product launch stages to succeed.
Answers: 1
question
Computers and Technology, 23.06.2019 06:40
How many nibbles can be stored in a 16-bit word?
Answers: 1
You know the right answer?
For each 1 <= i<= njob jiis given by two numbers diandpi, where diis the deadline and piis the...
Questions
question
Mathematics, 18.12.2020 22:30
question
Mathematics, 18.12.2020 22:30
question
Mathematics, 18.12.2020 22:30
question
History, 18.12.2020 22:30
question
Mathematics, 18.12.2020 22:30
question
History, 18.12.2020 22:30
Questions on the website: 13722363