What is stmviz?
stmviz is a real-time Stable Marriage Algorithm Visualizer. This application uses the classic version made by David Gale and Lloyd Shapley. With the visualizer, you are able to see how the algorithm works step-by-step. The visualizer was developed by @sevora for the AlgoExpert SWE Project Contest Summer-Fall 2020.
How do I use it?
You can edit the names of everyone in either group of male or female, you may also see their list by clicking on their arrow icon. Drag and drop to rearrange their preference list. You may also remove them with the trash icon, or add more with the add icon. Use the play button to start the visualization. Skip if you want to see immediately their best stable pairing. For reference, you may watch this video from Numberphile to understand what stable marriage is.
It isn't working?
Websites require Javascript to enable complex user interactions such as drag and drop, input synchronization, and even controllable animations. If your browser has Javascript disabled, the visualizer cannot work at all.
Incompatible with my browser?
The required version of Javascript that your browser can run must be at least ES5 (which was released in June 2009.) This is supported by the latest versions of browsers such as Chrome, Safari, Edge, Opera, and Android.
Can I get the source code?
Yes. The source code for this visualizer is open to the public and is hosted @Github.
Interested in more works?
Well, you could check out more here.