Exam Flashcards
1
Q
A
2
Q
A
3
Q
A
4
Q
A
- Run the jobs in decreasing order of finishing time f_i
5
Q
A
6
Q
A
7
Q
A
8
Q
A
9
Q
Exchange argument
A
- Does not decrease optimality
- e.g, in EEF, it still contains an disjoint set of intervals when exchanging the leftmost intervals from set O (optimal set) and A (algorithm set)
10
Q
A
11
Q
A
12
Q
A
13
Q
A
14
Q
A
15
Q
A
16
Q
A
17
Q
A
18
Q
A
19
Q
A
20
Q
A
21
Q
A
22
Q
A
23
Q
A
24
Q
A
25
Q
A
26
Q
A
- Show how to swap
- In case of interval scheduling, swap the two leftmost solutions from optimal and algorithms
- Show how the swap doesnt decrease optimality
- In case of interval scheduling, since the interval has EEF, this does not intersect other intervals in the optimal set, hence its also an optimal solution
27
Q
A
28
Q
A
29
Q
A
30
Q
A
31
Q
A
32
Q
A
33
Q
A
34
Q
A
35
Q
A
36
Q
A