COL106: Data Structures and Algorithms
Ragesh Jaiswal, IIT Delhi
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
COL106: Data Structures and Algorithms Ragesh Jaiswal, IIT Delhi - - PowerPoint PPT Presentation
COL106: Data Structures and Algorithms Ragesh Jaiswal, IIT Delhi Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms Greedy Algorithms: Job Scheduling Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms Greedy
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
Consider an optimal schedule O. First, if there is any idle time, we obtain another optimal schedule O1 without the idle time. Suppose O1 has inversions. Consider one such inversion (i, j). Claim 2.1: If an inversion exists, then there exists a pair of adjacently scheduled jobs (m, n) such that the schedule has an inversion w.r.t. (m, n).
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms
Ragesh Jaiswal, IIT Delhi COL106: Data Structures and Algorithms