CSE373 notes.pdf

# CSE373 notes.pdf - Analysis of Algorithm Median find in an...

• Notes
• 17

This preview shows pages 1–6. Sign up to view the full content.

Analysis of Algorithm

This preview has intentionally blurred sections. Sign up to view the full version.

Median find in an )

This preview has intentionally blurred sections. Sign up to view the full version.

Problem : Stable matching - = Given at of N men Met m , .mu mug set of N women WE } wiiwz way list Pim ) for each mean and pews for each wtw find : A stable matching SEWXM defn : A matching semxw is a set of order pairs from MXW such that each mean and WEW occurs m at most I pair in s subset ' µ defn : Perfect nrlatching : S Cnhxw such that each m and w appear In exactly I pair In S - 0--0 notifying . fo¥#€| sit , m prefer w ' to w and W ' prefer m to mi & 0 o there exists ( m , w ' ) ¢S such that m and W ' both prefer each other to be their partners Find a stable matching : a) perfecting matching (2) no instability
-6*1 : M= { m , m ' ) , W = } w , w ' ) pcm ) = [ w , W ' ] , PCW )=[m , m ' ] PLMY = [ wiw ' ] , p ( w ' ) = Emi m ' ) Solution exists : ( m , w ) a ( m ' , W ' ) Ex 2 : prm )= [ W , w ' ] pcw )=[m ' , m ] pcm 'F [ W ' , w ] pcw ' ) = # , m ' ] No one Is willing to Sol exists : Si = lmiw ) ; ( M ' N " make changes because 52 = ( miw ' ) , ( M 's w ) they can't be " more prefer " . QI : Does it exist a stable matching for an sets ? Yes QZ : Given an Instance , can we find a stable matching ? Yes G- S Algorithm : Initially , mean , wew are free Whole

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Fall '08
• Wittie,L

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern