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

FixedShapedSolver #76

Merged
merged 22 commits into from
Apr 3, 2024
Merged

FixedShapedSolver #76

merged 22 commits into from
Apr 3, 2024

Conversation

Whebon
Copy link
Contributor

@Whebon Whebon commented Mar 28, 2024

Adds two types of solvers:

  • FixedShapedSolver. This solver is more memory efficient, but only works on fixed shaped trees. It enumerates all solutions of a fixed shaped tree by (re)assigning the values of holes. To achieve this, it uses a new fixed shaped hole type with stateful domains.
  • GenericSolver. This solver has more flexible state management. It treats each state as an independent propagation program. Iterators can use save_state! and load_state! to switch between states at any time.

@Whebon Whebon requested a review from THinnerichs March 28, 2024 19:29
@THinnerichs THinnerichs merged commit a63cd1e into dev Apr 3, 2024
@ReubenJ ReubenJ mentioned this pull request Apr 4, 2024
@ReubenJ ReubenJ deleted the dfs-solver branch May 24, 2024 09:17
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.

2 participants