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

Better initialization value for prune table #1

Open
jakobkogler opened this issue Sep 28, 2014 · 0 comments
Open

Better initialization value for prune table #1

jakobkogler opened this issue Sep 28, 2014 · 0 comments
Assignees
Milestone

Comments

@jakobkogler
Copy link
Owner

In group.cpp use a better initialization value for the prune table:

prune_table = vector<int>(state_count, 20);

Maybe pass a reasonable value to the constructor or to the method call. In that case, the search doesn't need to go until:

visited_count < state_count

The loop could look like this:

for (int depth = 0; depth < max_depth; depth++)
@jakobkogler jakobkogler self-assigned this Sep 28, 2014
@jakobkogler jakobkogler modified the milestone: v0.1 Jan 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant