Stable Matching
The Problem
The Algorithm
Initially all m and w are free
While there's a man m who is free and hasn't proposed to every women
Choose such a man m
Let w be the highest-ranked woman in m's preference list to whom m has not yet proposed
If w is free
(m, w) become engaged
Else if w is engaged to m' and w prefers m to m'
(m, w) become engaged
m' becomes freeAnalyzing the Algorithm
Extension
Last updated