Stable marriage problem: Difference between revisions

Content added Content deleted
Line 2,916: Line 2,916:


Stability check:
Stability check:

<lang j> checkStable matchMake''
</lang>

(no news is good news)

Stability check on altered result (showing what would happen for a bogus result):


<lang j> 0 105 A."_1 matchMake '' NB. swap abi and bea
<lang j> 0 105 A."_1 matchMake '' NB. swap abi and bea