1. Consider the generalization of stable matching problem where a certain man-woman pairs are forbidden. The set of forbidden pairs is denoted as F. Each man m ranks all the woman w for which (m, w) ¢...


1.<br>Consider the generalization of stable matching problem where a certain man-woman pairs are<br>forbidden. The set of forbidden pairs is denoted as F. Each man m ranks all the woman w for which<br>(m, w) ¢ F and each woman w ranks all the man m for which (m, w) ¢ F. Consider the following algorithm<br>for finding a stable matching that consists of only unforbidden pairs:<br>Initially all mE M and w e W are free; S = Ø<br>While there is a man m who is free and hasn't proposed to every woman w for which (m, w) ¢ F<br>Choose such a man m<br>Let w be the highest-ranked woman in m's preference list to which m has not yet proposed<br>If w is free:<br>Add (m, w) to solution S<br>Else (w is current matched with m'):<br>If w prefers m' to m<br>m remains free<br>Else<br>Replace (m', w) by (m, w) in S<br>Return solution S<br>Answer true or false for the following questions:<br>(a) Any woman w remains engaged from the point at which she receives her first proposal, and the se-<br>quence of partners to which she is engaged get better and better.<br>(b) If a man m is free at the end of the algorithm, then he must have proposed to every non-forbidden<br>woman.<br>(c) If a woman w is free at the end of the algorithm, then it must be that no man ever proposed to w.<br>(d) At the end of the algorithm, there can be a man m and a woman w, such that (m, w) & F , but neither<br>of which is part of any pair in the matching S.<br>(e) At the end of the algorithm, there can be a pair (m, w) e S and a man m' that is free, (m', w) ¢ F , but<br>such that w prefers m' to m.<br>

Extracted text: 1. Consider the generalization of stable matching problem where a certain man-woman pairs are forbidden. The set of forbidden pairs is denoted as F. Each man m ranks all the woman w for which (m, w) ¢ F and each woman w ranks all the man m for which (m, w) ¢ F. Consider the following algorithm for finding a stable matching that consists of only unforbidden pairs: Initially all mE M and w e W are free; S = Ø While there is a man m who is free and hasn't proposed to every woman w for which (m, w) ¢ F Choose such a man m Let w be the highest-ranked woman in m's preference list to which m has not yet proposed If w is free: Add (m, w) to solution S Else (w is current matched with m'): If w prefers m' to m m remains free Else Replace (m', w) by (m, w) in S Return solution S Answer true or false for the following questions: (a) Any woman w remains engaged from the point at which she receives her first proposal, and the se- quence of partners to which she is engaged get better and better. (b) If a man m is free at the end of the algorithm, then he must have proposed to every non-forbidden woman. (c) If a woman w is free at the end of the algorithm, then it must be that no man ever proposed to w. (d) At the end of the algorithm, there can be a man m and a woman w, such that (m, w) & F , but neither of which is part of any pair in the matching S. (e) At the end of the algorithm, there can be a pair (m, w) e S and a man m' that is free, (m', w) ¢ F , but such that w prefers m' to m.
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here