Question

In: Computer Science

Prove: If the boy-optimal matching and the girl-optimal matching turn out to be same for a...

Prove: If the boy-optimal matching and the girl-optimal matching turn out to be same for a set of preferences, there exists only one possible solution for stable matching.

Solutions

Expert Solution

Stable matching problem in mathematics and information technology is the problem of finding the stable matching between two equal sized sets of elements given an ordering of preferences individually element. A matching is a mapping from the elements of one contend the elements of the other set. A matching is not stable if:

1. There is an element A of the first matched set which prefers some given element B of the second matched set over the element to which A is already matched, and
2. B also prefers A over the element to which B is already matched.

In other words, a matching is stable when there does not exist any match (A, B) how both A and B potential individually happier than they attend the element anywhere they are currently matched.

While the solution is stable, it is not necessarily optimal from all individuals' points of view. The traditional form of the algorithm is optimal for the initiator of the proposals and the stable, suitor-optimal solution may or may not be optimal for the reviewer of the proposals. An example is as follows:

consider there are three boys (A,B,C) and three girls (X,Y,Z) which have preferences of:

    A: YXZ   B: ZYX   C: XZY   X: BAC   Y: CBA   Z: ACB

There are 3 stable solutions to this matching arrangement:

    boys get their first choice and girls their third (AY, BZ, CX) OR
    all participants get their second choice (AX, BY, CZ) OR
    girls get their first choice and boys their third (AZ, BX, CY)

As alredy said all 3 are stable solutions based on the selection but out of three only one can be preferred as the condition is both boy and a girl optimal matching is same.

The algorithm of the stable matching is given by:

function stableMatching {
    Initialize all m ∈ M and w ∈ W to free
    while ∃ free man m who still has a woman w to propose to {
       w = first woman on m’s list to whom m has not yet proposed
       if w is free
         (m, w) become engaged
       else some pair (m', w) already exists
         if w prefers m to m'
            m' becomes free
           (m, w) become engaged
         else
           (m', w) remain engaged
    }
}


Related Solutions

Suppose the probabilities of having a boy or a girl child arethe same—both are 50%....
Suppose the probabilities of having a boy or a girl child are the same—both are 50%. Answer the following questions about a couple that has two children, showing any calculations.a. What is the probability that the couple has two girls?b. The eldest of the two children is a girl. Given this, what is the probability that the couple has two girls?c. At least one of the children is a girl. What is the probability that the couple has two girls?Your...
The probability that a baby will be a boy is ½ as is the probability that a baby will be a girl.
The probability that a baby will be a boy is ½ as is the probability that a baby will be a girl. Explain this fact by explaining the mechanism of meiosis in the production of gametes and the process of fertilization. If a family has 4 boys and 3 girls, what is the probability that the next child will be a girl?
A couple has three children, a normal boy and a boy and girl each with hemophilia....
A couple has three children, a normal boy and a boy and girl each with hemophilia. What can you say       about the parents?
If the probability of having a boy equal to that of having a girl, what is...
If the probability of having a boy equal to that of having a girl, what is the probability of a couple having a baby that is albino if they are both heterozygous? a) What is the probability that they have a baby girl that is albino? What if their first cheild is an albino girl, what his is the probability that their second child is a normal male?
There were 2,074,000 baby girl and 2,173,000 baby boy born. We often assume that the probability of having a boy or a girl is 0.5 because of the chromosomal determination of sex in
There were 2,074,000 baby girl and 2,173,000 baby boy born. We often assume that theprobability of having a boy or a girl is 0.5 because of the chromosomal determination of sex inhumans. Is there reason to think that the sex ratio in the United States favor more baby boys?To answer this question, find the probability that an equal chance of getting a boy would give2,173,000 boys or more in 4,247,000. What do you conclude?
The heavy boy and light girl are balanced on the seesaw. If they both move inward...
The heavy boy and light girl are balanced on the seesaw. If they both move inward so that each is exactly half the original distance from the pivot, then the 1) boy's end will move downward. 2) girl's end will move downward. 3) seesaw will remain in balance. If the fulcrum of the seesaw is repositioned so each can sit at an END of the board and be in balance, then if each moves inward half way the 4) boy's...
A family has 4 children. Assume that each child is as likely to be a boy as it is to be a girl.
A family has 4 children. Assume that each child is as likely to be a boy as it is to be a girl. Find the probability that the family has 4 girls if it is known the family has at least one girl.
1. Assumptions: Two child family, the probability of a boy or girl is .5, sex of...
1. Assumptions: Two child family, the probability of a boy or girl is .5, sex of one child in the family is independent of the sex of the other child. Case A: With no other information given, what is the probability that a family has 2 girls? Case B: A family has at least 1 girl, what is the probability that a family has 2 girls? Case C: A family has at least 1 girl who is its first born...
From the article, "Am I a Girl, or a Boy? An Unusual Case of Ambiguous Gender",...
From the article, "Am I a Girl, or a Boy? An Unusual Case of Ambiguous Gender", explain the difference between chromosomal & phenotypic sex in 200 or more words. sciencecases.lib.buffalo.edu/cs/files/girl_or_boy.pdf
Assuming that boy and girl babies are equally​ likely, what would be​ Kathy's probability of having...
Assuming that boy and girl babies are equally​ likely, what would be​ Kathy's probability of having at most three daughters if she were to have four children​ altogether? (You may want to use a tree diagram to construct the sample​ space.)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT