1,760
edits
m (→Base formula) |
|||
Line 64: | Line 64: | ||
''accurateShanten'' = Smaller of: | ''accurateShanten'' = Smaller of: | ||
* 8 - (2 * ''groups'') - max(''pairs'' + ''taatsu'', 4 - ''groups'') - min(1, max(0, ''pairs'' + ''taatsu'' + ''groups'' - 4) | * 8 - (2 * ''groups'') - max(''pairs'' + ''taatsu'', 4 - ''groups'') - min(1, max(0, ''pairs'' + ''taatsu'' + ''groups'' - 4)) | ||
* 6 - ''pairs'' | * 6 - ''pairs'' | ||
* 13 - ''diffTerminals'' - max(''terminalPairs'', 1 | * 13 - ''diffTerminals'' - max(''terminalPairs'', 1) | ||
=== Accurate correction (perfect shanten) === | === Accurate correction (perfect shanten) === |
edits