Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
courses:cs211:winter2012:journals:jeanpaul:chapterfour_sectionii [2012/02/26 20:56] – [Designing the algorithm] mugabej | courses:cs211:winter2012:journals:jeanpaul:chapterfour_sectionii [2012/02/26 22:13] (current) – [Designing the algorithm] mugabej | ||
---|---|---|---|
Line 26: | Line 26: | ||
>>>>>>>>>> | >>>>>>>>>> | ||
- | >>>>>>>>>> | + | >>>>>>>>>> |
>>>>>>>>>> | >>>>>>>>>> | ||
>>>>>>>>>> | >>>>>>>>>> | ||
Line 36: | Line 36: | ||
=== Algorithm Analysis === | === Algorithm Analysis === | ||
- | * //Exchange Argument//: Gradually modifying an optimal schedule, | + | * //Exchange Argument//: Gradually modifying an optimal schedule, |
+ | * There is an // | ||
+ | * The greedy algorithm has no idle time and by definition, | ||
+ | * All schedules with no inversions and no idle time have the same maximum lateness. | ||
+ | * There is an optimal schedule that has no inversions and no idle time. | ||
+ | * As a consequence, | ||
+ | |||
+ | --> For proofs of the above claims,see the book of the course | ||
+ | \\ | ||
+ | \\ | ||
+ | I give this section an 8/10 for being brief and concise in its explanation of the material. | ||