Stable Marriage Problem through different paradigms
This repository contains multi-paradigm solutions to the SMP.
Languages in this repo:
Given a list of 10 employers and 10 students, and given their list of preferences of each other, the SMP solutions attempt to find an optimal match for all students & employers.
Given the following students & their preferences:
Given the following employers & their preferences:
An optimal stable match would be:
This repo has SMP implementations in Go, Java, Prolog & Scheme (Lisp), where each solution follows one of the two algorithms below: