@@ -0,0 +1,915 @@
+package stableMatching;%0A%0A%0A/** * Stable Marriage.  Will run through the Stable Marriage algorithm %0A%09* until a stable marriage is found %0A%09* The constructor will expect an ArrayList of MEN and another%0A%09* ArrayList of WOMEN.  These lists are constant and will not be changed. %0A%09* For simplicity, assume all agents are rational, that is they prefer%0A%09* to be matched with someone rather than reamin single.%0A%09* @author Alan Ponte%0A%09* @version 2013.09.13*/%0A%09 %0Apublic class StableMarriage %7B%0A%09%0A%09private static num_men;%0A%09private static ArrayList%3CMan%3E MEN = new ArrayList%3CMan%3E();%0A%09private static ArrayList%3CWoman%3E WOMEN = new ArrayList%3CWoman%3E();%0A%09public StableMarriage(Men, Woman)%7B%0A%09%09MEN = Men;%0A%09%09WOMEN = Woman;%09%0A%09%7D%0A%09%0A%09/** MAIN method.  Runs the Stable marriage algorithm on the%0A%09  * list of MEN and the list of WOMAN.  Terminates when a stable mathcing is found */%0A%09public void runAlgorithm()%7B%0A%09%09/** Run the algorithm*/%0A%09%09%0A%09%7D%0A%7D%0A

Create StableMarriage.java