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

Export a generator API for twsearch #288

Open
lgarron opened this issue Aug 21, 2023 · 0 comments
Open

Export a generator API for twsearch #288

lgarron opened this issue Aug 21, 2023 · 0 comments
Labels
📦 cubing/search enhancement New feature or request

Comments

@lgarron
Copy link
Member

lgarron commented Aug 21, 2023

Right now, experimentalSolveTwsearch(…) outputs up to one solution.
It is possible to get multiple solutions by specifying a min depth, which will randomize the search each time:

However, it would be much better to implement a generator API that pulls solutions from C++ → Rust → WASM → JS. It's okay for there to be a bit of extra/redundant work as long as the API is simple to use.

@lgarron lgarron added enhancement New feature or request 📦 cubing/search labels Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 cubing/search enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant