Download
lecture 3 n.
Skip this Video
Loading SlideShow in 5 Seconds..
Lecture 3 PowerPoint Presentation

Lecture 3

259 Views Download Presentation
Download Presentation

Lecture 3

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Lecture 3 CSE 331 Sep 4, 2009

  2. This is Jeff

  3. Clarifications on your blog posts You’ll email me your post by 5pm before the next lecture Your grade will primarily depend on the “coverage” of the lecture Lecture 3 post will be a “model” entry Your entry will be put up unedited (modulo formatting)

  4. Main Steps in Algorithm Design Problem Statement Real world problem Problem Definition Precise mathematical def Algorithm “Implementation” Data Structures Analysis Correctness/Run time

  5. Worst-case analysis Correctness should hold for every valid input Resource usage by the worst-possible input

  6. National Resident Matching

  7. (Screen) Docs are coming to BUF Buffalo General Hawkeye (M*A*S*H) Millard Filmore (Gates Circle) JD (Scrubs) Millard Filmore (Suburban)

  8. What can go wrong?

  9. The situation is unstable!

  10. What happens in real life Preferences Information Preferences

  11. NRMP plays matchmaker

  12. Stable Marriage Problem David Gale Lloyd Shapley