fine, that's now an official wzyz-wing
the good news is i finally solved my overlapping als-xz code problem and it correctly finds these now woot woot.
fine, that's now an official wzyz-wing
--------------+-------------+----------- --------------+-------------+-----------
01) . wz . | . . . | . . . 02) . xyz . | . . . | . . .
-Z wxyz wxyz | . xyz . | . . . -Z wxyz wxyz | . wz . | . . .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
--------------+-------------+----------- --------------+-------------+-----------
03) . wz . | -Z -Z -Z | . . . 04) . wz . | -Z -Z -Z | . . .
-Z wxy wxy | . xyz . | . . . -Z wxy wxy | . xyz . | . . .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
ab . . | ab . .
--------------
ac . . | abc . .
+----------+-----------+----------+
| abc -c -c| bc -c -c| -c -c -c |
| . . . | . . . | . . . |
| . . ac | . bc . | . . . |
. 124 . | . . . | 13 . .
. . . | . . . | . . .
24 -24 -24| . . . | . 234 .
StrmCkr wrote:works pretty much like my earlier examples
- Code: Select all
+----------+-----------+----------+
| abc -c -c| bc -c -c| -c -c -c |
| . . . | . . . | . . . |
| . . ac | . bc . | . . . |
--------------+-------------+----------- --------------+-------------+-----------
abc -c -c | bc -c -c | -c -c -c abc -c -c | ad . . | . . .
. . . | . . . | . . . -c -c -c | . . . | . . .
. . ad | . bd . | . . . -c -c bc | . bd . | . . .
--------------+-------------+----------- --------------+-------------+-----------
StrmCkr wrote:but the inner-workings gets harder to build if i look at
- Code: Select all
. 124 . | . . . | 13 . .
. . . | . . . | . . .
24 -24 -24| . . . | . 234 .
WXYZ-Wings Box-Box wise:-
--------------+-------------+----------- --------------+-------------+-----------
01)-Z xyz -Z | -XZ -XZ xz | -Z -Z -Z 02)-Z xyz -Z | . . wy | . . .
. . . | . . . | . . . -Z -Z -Z | . . . | . . .
. . wy | . wx . | . . . -XZ -XZ xz | . wx . | . . .
--------------+-------------+----------- --------------+-------------+-----------
--------------+-------------+----------- --------------+-------------+-----------
03) . xyz . | -XZ -XZ xz | . . . 04) . xyz . | . . wy | . . .
. . . | . . . | . . . . . . | . . . | . . .
. . wy | . wxz . | . . . -XZ -XZ xz | . wxz . | . . .
--------------+-------------+----------- --------------+-------------+-----------
WXYZ-Wings Row-Column-Box wise:- one eimination (2 exemplars)
--------------+-------------+----------- --------------+-------------+-----------
01) . xyz . | . . . | . wx . 02) . xyz yz | . . . | . -Z .
. . . | . . . | . . . . . . | . . . | . . .
. yz . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
. . . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
. . . | . . . | . . . . . . | . . . | . . .
. -Z . | . . . | . wz . . wx . | . . . | . wz .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
Please also note that the above mentioned cases might also be considered as WXYZ-Wings strategies (that contain 4 cells with 4 clues in total), as blue mentioned
als-xy code:
--------------+-------------+----------- --------------+-------------+-----------
01)-Z xyz -Z | -ZX -ZX xz | -Z -Z -Z 02)-Z xyz -Z | . . wy | . . .
. . . | . . . | . . . -Z -Z -Z | . . . | . . .
. . wy | . wx . | . . . -ZX -ZX xz | . wx . | . . .
--------------+-------------+----------- --------------+-------------+-----------
als-yx code
--------------+-------------+----------- --------------+-------------+-----------
03) . xyz . | -ZX -ZX xz | . . . 04) . xyz . | . . wy | . . .
. . . | . . . | . . . . . . | . . . | . . .
. . wy | . wxz . | . . . -ZX -ZX xz | . wxz . | . . .
--------------+-------------+----------- --------------+-------------+-----------
StrmCkr wrote:i do agree they fit the bill as 4 cells with 4 digits: however they are bent around multiple sectors {instead of 1},
rjamil wrote:Hi StrmCkr,StrmCkr wrote:i do agree they fit the bill as 4 cells with 4 digits: however they are bent around multiple sectors {instead of 1},
If n cells contain n digits; and all cells share one sector/unit only, then its fall under naked tuples definition. What I understand the difference between naked tuples and wings is that wings cells share more than one sector/unit. Am I right?
R. Jamil
. xyz . | -ZX -ZX xz | . . . -<----- set A using Row sector: 3 digits in 2 cells
. . . | . . . | . . .
. . wy | . wxz . | . . . <----- set B using Row sector: 4 digits in 2 cells. { not a valid set B as defined above}
. abc ac | . . . | . ab .
. . . | . . . | . . .
. . . | . . . | . . .
. abc ac | . . . | . ab .
. . . | . . . | . . .
. . . | . . . | . . .
StrmCkr wrote:more advance elimination would also consider the location of each of the N digit and remove the peers cells to those number cell specifically.
ie: it would remove C from R23C123
- Code: Select all
. abc ac | . . . | . ab .
. . . | . . . | . . .
. . . | . . . | . . .
After further pm correspondence with StrmCkr; reading again specific portions of this site; and analyzing WXYZ-Wings patterns, got an idea of how to code all aspect of WXYZ-Wings that already SudokuWiki site detected as Bent Quads, as follows:
a) Grab four unsolved cells, not in one unit, having four clues in total;
b) Combine clues in cells that share unit...(sector}
c) Each unit clue(s), not present in other units, may be eliminated from unit other cells;
In pm, StrmCkr wrote:my code specifically pics one of the 81 cells on a grid as a starting point labeled S
Each of S cell has exactly 20 peer cells labeled P
all N wings sizes start at S and have and addition N-1 "p" cells to complete the "n" cells with n digits requirement of a barn
StrmCkr wrote:i have barns programed as a cross between D.D.S, A.D.D.S, and als-xz rules
with it being keyed on the bent subset size N searching with in the peer cells of a starting point for n-1 cells containing <=N digits {ie each cell only has 20 immediate peers to check}
instead of spanning multiple sectors and looking for bridging points,
{that way my barns always only have 1 intersecting Pivot cell {the starting cell}
--------------+-------------+----------- --------------+-------------+-----------
-Z xyz -Z | -XZ -XZ xz | -Z -Z -Z -Z xyz -Z | . . wy | . . .
. . . | . . . | . . . -Z -Z -Z | . . . | . . .
. . wy | . wx . | . . . -XZ -XZ xz | . wx . | . . .
--------------+-------------+----------- --------------+-------------+-----------
--------------+-------------+----------- --------------+-------------+-----------
. xyz . | -XZ -XZ xz | . . . . xyz . | . . wy | . . .
. . . | . . . | . . . . . . | . . . | . . .
. . wy | . wxz . | . . . -XZ -XZ xz | . wxz . | . . .
--------------+-------------+----------- --------------+-------------+-----------
--------------+-------------+----------- --------------+-------------+-----------
. xyz . | . . . | . wy . . xyz . | . . . | . wy .
-Z -Z -Z | . . . | wz . . . . . | . . . | . . .
. . xz | . . . | . . . -Z -Z xz | . . . | wz . .
--------------+-------------+----------- --------------+-------------+-----------
--------------+-------------+----------- --------------+-------------+-----------
-Z xyz -Z | . wz . | . wy . wz xyz -WXZ | -W -W -W | -W wy -W
. . . | . . . | . . . -XZ -XZ -XZ | . . . | . . .
. . xz | . . . | . . . -XZ -XZ xz | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
--------------+-------------+----------- --------------+-------------+-----------
. xyz . | . . . | . wx . . xyz yz | . . . | . -Z .
. . . | . . . | . . . . . . | . . . | . . .
. yz . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
. . . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
. . . | . . . | . . . . . . | . . . | . . .
. -Z . | . . . | . wz . . wx . | . . . | . wz .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
--------------+-------------+----------- --------------+-------------+-----------
. xyz . | . . . | . wx . . xyz . | . yz . | . -Z .
. . . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
. . . | . . . | . . . . . . | . . . | . . .
. yz . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
. . . | . . . | . . . . . . | . . . | . . .
. -Z . | . . . | . wz . . wx . | . . . | . wz .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
--------------+-------------+----------- --------------+-------------+-----------
. xyz . | . . . | . wx . . xyz . | . . . | yz -Z .
. . . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
. . . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------
. yz . | . . . | . . . . . . | . . . | . . .
. -Z . | . . . | . wz . . wx . | . . . | . wz .
. . . | . . . | . . . . . . | . . . | . . .
--------------+-------------+----------- --------------+-------------+-----------