The implementation is according to the document:
http://www.sudokuwiki.org/sudoku/Generalizing_Sudoku_Strategies.pdfSiSeSuSo will check all types of houses (boxes,Asterisk,Girandola,Windoku) against rows and columns where applicable. So not 2 jigsaws...
But in the example of
urhegyi above it is a jigsaw and a row. So we examine this (in row box situation).
General: house X and Y intersect. S is subset of cells of X and T is subset of Y. S and T do intersect also in subset C.
Below the cells without a minus are the (W) XYZ cells and in cells with a minus all mentioned candidates can be eliminated.
Type A=(if the selected cells in S and T outside C share no values, then no value in one of these cells is valid in other cells in X or Y, outside the cells of union S and T )
Example type A:
- Code: Select all
-1234 1234 1234 | 12 -12 -12 | -12 -12 -12
-34 -34 34 |
-34 -34 -34 |
Type B=(if all pairs of cells in S or T outside C have at most one value v in common, then v is not valid in other cells in the intersection X and Y outside C)
Example type B:
- Code: Select all
-1 -1 123 | 12 . . | . . .
. . 13 |
. . . |
Type C: If candidate 1 is not part of the intersection cells, then also candidate 1 can be eliminated from cells that "see" all candidate 1 cells of the union.
Example type C:
- Code: Select all
-1 234 23 | 12 . . | . . .
. . 134 | -1
. . . |
Note: This type C is added in sisesuso, but is not in the pdf.
Now a new situation (type D) is here
- Code: Select all
-1 -1 123 | 12 . . | . . .
. . 13 | -1?
. . . |
the cell with the ? has the focus.
Why is that valid???? Well it is not.
But with jigsaw that cell will "see" all of the XYZ cells, which can not happen in a standaard sudoku.
And sisesuso does not test on seeing 3 cells. That's why it is not spotted.
Also a 3rd house (column 6) is used to see the 3 cells. Sisesuso only test on 2 houses.