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 reuse of the transposition table etc. #115

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mortensp
Copy link

Closes #114. Now the transposition table can be reused in SolveBoardInternal whenever the new deal has the same trump suit and none of the cards in the new deal was originally in an other hand. When this happens the old deal, that is the deal registered in/corresponding to the transposition table, is updated as the combination of the two deals. In order for this to work i have changed the code so ALL validations is done on dl.remaningcards and postponed the updates of thrd->suits. And two small error was fixed too.

I wanted to uses this dll to verify each ply in my own DDS algorithms (11 different ones code to compare the differences ), but that would take days to complete before this change - now it can be done in minutes:-) This is also have I have tested my changes in more than 500.000 calls

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.

Better reuse of the transposition table?
1 participant