4. There are 4 boys (A, B, C, D) and 4 girls (a, b, c, d)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
4. There are 4 boys (A, B, C, D) and 4 girls (a, b, c, d) who want to date. Each boy has a preference list, and so does each girl. A pair of a boy and a girl is called unstable if the boy has another girl he likes better, and so does the girl. For example, if the preference list of A is b> c> a>d and that of a is B > A>D> C, then the pair of A and a is unstable since A likes b better than a, and a likes B better than A. The aim is to find a stable matching of all 4 boys and 4 girls such that there is no unstable pairing. Consider the following proposal : Morning Each girl stands on her balcony. Each boy stands under the balcony of his favorite girl on his list and serenades her. If no girl on his list, he stays home. Afternoon: Each girl who has one or more suitors serenading her asks her favorite suiters out tomorrow. She tells the others she is not available. Evening Each shunned boy crosses the girl on his list. How many days (at most) does the above proposal end? Does it give a stable matching? Explain your answers. 4. There are 4 boys (A, B, C, D) and 4 girls (a, b, c, d) who want to date. Each boy has a preference list, and so does each girl. A pair of a boy and a girl is called unstable if the boy has another girl he likes better, and so does the girl. For example, if the preference list of A is b> c> a>d and that of a is B > A>D> C, then the pair of A and a is unstable since A likes b better than a, and a likes B better than A. The aim is to find a stable matching of all 4 boys and 4 girls such that there is no unstable pairing. Consider the following proposal : Morning Each girl stands on her balcony. Each boy stands under the balcony of his favorite girl on his list and serenades her. If no girl on his list, he stays home. Afternoon: Each girl who has one or more suitors serenading her asks her favorite suiters out tomorrow. She tells the others she is not available. Evening Each shunned boy crosses the girl on his list. How many days (at most) does the above proposal end? Does it give a stable matching? Explain your answers.
Expert Answer:
Answer rating: 100% (QA)
All this will take at most 24 days Explanation I think that the n... View the full answer
Related Book For
College Algebra Graphs and Models
ISBN: 978-0321845405
5th edition
Authors: Marvin L. Bittinger, Judith A. Beecher, David J. Ellenbogen, Judith A. Penna
Posted Date:
Students also viewed these general management questions
-
In a group of 100 adults, 70 say they are most likely to do spring housecleaning in March, April, or May. Of these 70, the number who cleans in April is 14 more than the total number who cleans in...
-
A group of 100 workers were asked whether they were college graduates and whether they belonged to a union. According to their responses, 60 were not college graduates, 20 were nonunion college...
-
Suppose that in a large lot containing T manufactured items, 30 percent of the items are defective and 70 percent are nondefective. Also, suppose that ten items are selected at random without...
-
In Exercises, use the alternative form of the derivative to find the derivative at x = c (if it exists). f(x) = 1 x + 4' c = 3
-
The Iowa Energy are scheduled to play against the Maine Red Claws in an upcoming game in the National Basketball Association Developmental League (NBA-DL). Because a player in the NBA-DL is still...
-
Find the minimum and maximum values of the objective function and the points where they occur, subject to the constraints x 0, y 0, x + 4y 20, x + y 18, and 2x + 2y 21. 1. z = x + 5y 2. z = 2x +...
-
Four different populations and related statistical objectives are: Required: a. Compute the sample size for each population. b. Assuming the standard deviation of the sample values is 20 percent...
-
ROI, RI, EVA. Performance Auto Company operates a New Car Division (that sells high performance sports cars) and a Performance Parts Division (that sells performance improvement parts for family...
-
You have a job as the middle-level executive in a 250 bed hospital.The hospital is technically a "non-profit" hospital, but it is run as close to a "for profit" goal as possible.As a result of...
-
There is an array A made of N integers. Your task is to choose as many integers from A as possible so that, when they are put in ascending order, all of the differences between all pairs of...
-
In the 1940s the De Beers Mines Company of South Africa coined the slogan A diamond is forever. Later, during an advertising campaign to increase diamond sales, the company linked it to being the...
-
Replace the ComparedTo function in an array-based UnsortedList by assuming that member functions of the ItemType class overload the relational operators.
-
Distinguish between static and dynamic binding of functions.
-
True or False? For a C++ derived class to override an inherited member function, the base class is required to declare the function to be virtual.
-
True or False? Tail recursion often indicates that the problem could be solved more efficiently using iteration.
-
Dummy nodes are used to simplify list processing by eliminating some special case. 1. What special case is eliminated by a header node in a linear linked list? 2. What special case is eliminated by a...
-
1. Write any 5 differences of Manual Testing and Automated testing (table format) 2. Bring out any 5 comparisons on software testing Models (table format) a. Waterfall Model b. Spiral Model c. V...
-
Find the center of mass of a thin triangular plate bounded by the y-axis and the lines y = x and y = 2 - x if (x, y) = 6x + 3y + 3.
-
In each of the following, a polynomial P(x) and a divisor d(x) are given. Use long division to find the quotient Q(x) and the remainder R(x) when P(x) is divided by d(x). Express P(x) in the form...
-
Shirts.com advertises a limited time sale, offering 1 turtleneck for $15 and 2 turtlenecks for $25. A total of 1250 turtlenecks are sold and $16,750 is taken in. How many customers ordered 2...
-
Find a polynomial function of degree of 3 with the given number as zeros. a. - 4, - 1, 2 b. - 3, 1 - i, 1 + i c. , 1 - (2, 1 + (2
-
List the six IT business objectives.
-
How is IT contributing to the success of the on-demand and shared economies?
-
Name four disruptive business models and describe what they offer to their customers.
Study smarter with the SolutionInn App