Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| courses:cs211:winter2018:journals:hornsbym:chapter_1 [2018/01/10 04:23] – hornsbym | courses:cs211:winter2018:journals:hornsbym:chapter_1 [2018/01/16 01:40] (current) – hornsbym | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Chapter 1 ====== | ====== Chapter 1 ====== | ||
| - | <Enter overview of chapter 1 here> | + | This chapter |
| + | (A) The Gale-Shapely algorithm terminates after n< | ||
| + | (B) The final matching is a perfect matching\\ | ||
| + | (C) The final matching is stable | ||
| ===== Section 1.1(The Stable Matching Problem) ===== | ===== Section 1.1(The Stable Matching Problem) ===== | ||
| - | This section deals with the Stable Matching Problem, which was first posed by David Gale and Lloyd Shapely in 1962. This algorithm seeks to assign job applicants to potential employers in a way such that:\\ | + | This section deals with the Stable Matching Problem, which was first posed by David Gale and Lloyd Shapely in 1962. This algorithm seeks to assign job applicants to potential employers in a way such that: |
| - | "(i) Employers prefer every one of its accepted applicants to the remaining applicants; or \\ | + | "(i) Employers prefer every one of its accepted applicants to the remaining applicants; or |
| | | ||
| Either of these two options would result in a stable outcome to the problem. \\ | Either of these two options would result in a stable outcome to the problem. \\ | ||
| \\ | \\ | ||
| - | To simplify this problem, Gale and Shapely made the assumption that every applicant sought a single employer, and every employer sought a single applicant. The latter, of course, would rarely be the case; however, the simplification allowed for the problem to be more easily defined while still maintaining the fundamental issues. | + | To simplify this problem, Gale and Shapely made the assumption that every applicant sought a single employer, and every employer sought a single applicant. The latter, of course, would rarely be the case; however, the simplification allowed for the problem to be more easily defined while still maintaining the fundamental issues. Gale and Shapely simulated this problem by substituting employers for men and applicants for women, then designing an algorithm that will ensure the men and women form stable pairs.\\ |
| + | \\ | ||
| + | The algorithm follows the following steps: | ||
| + | |||
| + | | ||
| + | | ||
| + | (3)If a woman breaks her current proposal, the man she leaves becomes free again. | ||
| + | | ||
| + | |||
| + | This algorithm keeps everyone as happy as they can expect to be, so no one will feel compelled to leave their current situation. Since each pair will be self motivated to stay together, the matching is stable. | ||
