Anonymous user
Talk:Stable marriage problem: Difference between revisions
m
→Stability Check
Line 49:
::You need the logic to search for the above but would only need to state that
:::"X, and Y would rather be together than with their current respective partners"
::Where X and Y are not of the same sex and are the found names violating stability. The PicoLisp error message says "X likes Y1 better than Y2", which may well be the case, but does not point out how it violates the the stability criterion. Looking at the Python example, the check
:::Hi Dan, OK, I see. Half of the message is missing (though the code itself states it fully in the 'and' expression and the comments). Thanks!
|