Content deleted Content added
→Solution: '''Gale-Shapley algorithm''' |
→Solution: fmt |
||
Line 11:
This algorithm guarantees that:
Proof of stability: If Bob prefers Alice to his current partner, he must have proposed to Alice before he proposed to his current partner. If Alice accepted his proposal, yet is not married to him at the end, she must have dumped him for someone she likes more, and therefore doesn't like Bob more than her current partner. If Alice rejected his proposal, she was already with someone she liked more than Bob.
|