Your program should execute by taking one command line argument 'n', where n is the number of man (and number of woman).
Then your program prints out
1. the preference profile for each man and then the preference profile of each woman with the following format. Below is an example of two men and two women:
M1: W2 W1
M2: W2 W1
W1: M1 M2
W2: M2 M1
2. Next, for above given man and woman preference lists, your program should execute the G-S algorithm n times, each time a different man should propose first, by printing out who proposes, the resulted stable marriage, and the number of proposals it takes. Using above example, it should look like:
M1 proposes, it takes 3 proposals to reach the final stable marriage:
M1 - W1
M2 - W2
M2 proposes, it takes 3 proposals to reach the final stable marriage:
M1 - W1
M2 - W2
22 szabadúszó tett, átlagosan $19/óra összegű árajánlatot erre a projektre.
Hello I am Java and Algorithm expert and interested in this project. I am familiar with matching algo. Please communicate to discuss further. Regards Anshu
Hi! I'm interesting your project very well. I am mastering Java and I'm a good Mathematician. And also I have many experience and good skill about algorithm. Let's go ahead with me
I have briefly checked the description on web development, and I can deliver as per the requirements however I need us to discuss for more clarity on the details, deadline and budget as well.
Hi. I have reviewed your job post and came to the decision I can do your job. I assure my good logic and good coding. I have good experiences on Java, C++, C#. Let me know if yo have interesting.