Skip to content

Generalize two-line elimination heuristic - #17

Merged
dschafer merged 1 commit into
mainfrom
generalize-two-line-heuristic
Aug 2, 2026
Merged

Generalize two-line elimination heuristic#17
dschafer merged 1 commit into
mainfrom
generalize-two-line-heuristic

Conversation

@dschafer

@dschafer dschafer commented Aug 2, 2026

Copy link
Copy Markdown
Owner

@alexkazik identified some more puzzles that we weren't able to solve with existing heuristics. A generalization of the previous new heuristic worked for them, though.

Now, rather than noting that we always need a given color on two consecutive lines, we look at all valid queen placements on any two lines, and see if they all eliminate a given square.

@dschafer
dschafer merged commit 4e44236 into main Aug 2, 2026
1 check passed
@dschafer
dschafer deleted the generalize-two-line-heuristic branch August 2, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant