Anonymous user
Stable marriage problem: Difference between revisions
m
→{{header|Groovy}}
(→{{header|Groovy}}: new solution) |
|||
Line 856:
=={{header|Groovy}}==
{{trans|Java}} (more or less) Uses explicit maps for preference ranking rather than list position. Uses Man and Woman enumerated types instead of string names, in order to
"Stable Matching" Solution:
|