Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoidable rectangle is applied even if there is no double solution #4

Open
Kermalis opened this issue Oct 30, 2020 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Kermalis
Copy link
Owner

The following puzzle (currently named Unsolved - Incorrect 1.txt in the repo):

1549-----
-----41--
-6-75---9
-1---8---
69---7-4-
--5----37
-8-----1-
----3--68
------5--

Avoidable rectangle is applied (because other techniques are not implemented yet)
For now, it points out a flaw with my implementation of avoidable rectangle.

image

G4 should not be changed because G7 cannot be 6 and D7 cannot be 3. This means a double solution involving G4 is not possible, so the avoidable rectangle should not try to avoid it.

The technique needs to check if it would be a double solution if the three cells were swapped.

@Kermalis Kermalis added the bug Something isn't working label Oct 30, 2020
@Kermalis
Copy link
Owner Author

Kermalis commented Oct 30, 2020

This puzzle is now solved by XY-Chain, but the bug still applies if XY-Chain is disabled. It was renamed to XY-Chain (2).txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant