jeffgerickson / algorithms

Bug-tracking for Jeff's algorithms book, notes, etc.
7.91k stars 1.02k forks source link

Possible issue in proof of Theorem 4.4 #202

Open Hjalmtyr opened 4 years ago

Hjalmtyr commented 4 years ago

In the Proof of Theorem 4.4 on page 164 the assumption is stated that the sequence of classes chosen by the greedy algorithm is sorted by starting time. Isn't more natural that they should be sorted by finish time, as that is how they are output from the algorithm? It is also easier to argue that that we can use gj instead of cj in the modified schedule S'.