Skip to content

resume a one-in-bag search across solves - #382

Merged
andy-k merged 1 commit into
mainfrom
resume-a-one-in-bag-search-across-solves
Nov 2, 2026
Merged

andy-k merged 1 commit into
mainfrom
resume-a-one-in-bag-search-across-solves

Conversation

@andy-k

@andy-k andy-k commented Nov 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

A search with a tile in the bag began again at its first pass every
solve, so a caller solving it in steps, as a wasm32 page does, searched
the same passes again each step and answered with whatever that step
reached; and the pass move, valued by a line of positions each with
every place of its side to move, was one piece of work no short step
could finish. A PegProgress holds the position and what the passes
found: resume_peg_one_in_bag goes on at the pass and the move the last
solve stopped at, inside the pass move at the position and the place,
and answers from the deepest pass that valued every move.
solve_peg_one_in_bag resumes a new one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@andy-k
andy-k merged commit 46332cb into main Nov 2, 2026
3 checks passed
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