Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture 5 CSE 331 Sep 11, 2009. HW 1 out today Will be handed out at the END of the lecture Read the homework policy document carefully START EARLY! ©ehow.com.

Similar presentations


Presentation on theme: "Lecture 5 CSE 331 Sep 11, 2009. HW 1 out today Will be handed out at the END of the lecture Read the homework policy document carefully START EARLY! ©ehow.com."— Presentation transcript:

1 Lecture 5 CSE 331 Sep 11, 2009

2 HW 1 out today Will be handed out at the END of the lecture Read the homework policy document carefully START EARLY! ©ehow.com

3 Gale-Shapley Algorithm Intially all men and women are free While there exists a free woman who can propose Let w be such a woman and m be the best man she has not proposed to w proposes to m If m is free (m,w) get engaged Else (m,w’) are engaged If m prefers w’ to w w remains free Else (m,w) get engaged and w’ is free Output the engaged pairs as the final output

4 Today’s agenda Do a weak run time analysis of the GS algorithm Prove correctness of the GS algorithm


Download ppt "Lecture 5 CSE 331 Sep 11, 2009. HW 1 out today Will be handed out at the END of the lecture Read the homework policy document carefully START EARLY! ©ehow.com."

Similar presentations


Ads by Google