90 likes | 216 Vues
In the lecture from October 28, 2009, for CSE 331, students are reminded to fill out feedback forms during the last five minutes of class. The lecture covers advanced scheduling techniques, specifically how to convert an optimal schedule O to O' that has no inversions. Key concepts include identifying inversions and the implications for max lateness. The session concludes with a discussion on the Shortest Path Problem and a reading assignment from section 2.5 of the [KT] textbook.
E N D
Lecture 23 CSE 331 Oct 28, 2009
Feedback forms Please pick one up You will have last 5 minutes in the class to fill it in
Warning I am running behind on my topics schedule I wanted to show some of the cooler stuff Will not always do COMPLETE proofs More work for YOU
Last lecture Convert optimal schedule O to Ô such that Ô has no inversions (a) Exists an inversion (i,j) such that i is scheduled right before j (di > dj) (a.5) Swap i and j to get O’ Exercise: Prove by induction. No consecutive inversion No inversions Repeat O(n2) times (b) O’ has one less inversion than O (c) Max lateness(O’) ≤ Max lateness(O)
Max lateness(O’) ≤ Max lateness(O) di > dj Same lateness Same lateness O i j t3 t2 t1 O’ j i Lateness of j in O’ ≤ Lateness of j in O Lateness of i in O’ ≤ Lateness of j in O t3 - di Lateness of i in O’ = < t3 - dj = Lateness of j in O
Rest of today Shortest Path Problem http://xkcd.com/85/
Reading Assignment Sec 2.5of [KT]