1. Engineering
  2. Computer Science
  3. we can use induction also to show that the gs...

Question: we can use induction also to show that the gs...

Question details

We can use induction also to show that the G-S algorithm outputs the (unique) employer-optimal stable matching in which every employer e is matched with best (e). 1. Prove the following claim. Claim: At the end of every iteration k of the While loop, every employer e has only considered applicants that it ranks at least as high as best(e). Moreover, if e has considered best(e) on or before iteration k, then e is matched with best(e) at the end of iteration k.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution