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

Idea: precompute var distributions #89

Open
pvdz opened this issue Jun 29, 2016 · 0 comments
Open

Idea: precompute var distributions #89

pvdz opened this issue Jun 29, 2016 · 0 comments

Comments

@pvdz
Copy link
Contributor

pvdz commented Jun 29, 2016

Var distributors are currently applied during runtime. So every time a new step in the search tree is created the var distributor is applied over and over again. What if instead of searching we could precompute the list of vars in the order as specified by the distribution(s) picked?

  • var distributors are a bit more complex than value distributors. there's an intricate system of fallbacks if no suitable var can be chosen under the current distributor
  • you would still need to search through the ordered list for the next unsolved variable according to the current node of the search tree. Is that cheaper? Consider large sets of 10.000+ vars.
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

No branches or pull requests

1 participant