Skip to content

Conversation

@VoyagerOne
Copy link
Contributor

Enhance CMH table by adding a capture Boolean dimension.
This will double the CMH table but provide more accurate move stats

STC:
LLR: 2.95 (-2.94,2.94) [0.50,4.50]
Total: 79702 W: 17720 L: 17164 D: 44818
http://tests.stockfishchess.org/tests/view/5d97945e0ebc590c21aa724b

LTC:
LLR: 2.96 (-2.94,2.94) [0.00,3.50]
Total: 29147 W: 4907 L: 4651 D: 19589
http://tests.stockfishchess.org/tests/view/5d97ccb90ebc590c21aa7bc0

Bench: 4131643

src/search.cpp Outdated
Comment on lines 338 to 341
{
(ss-i)->continuationHistory = &this->continuationHistory[0][NO_PIECE][0]; // Use as sentinel
(ss-i)->continuationHistory = &this->continuationHistory[1][NO_PIECE][0]; // Use as sentinel
{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Echoing @vondele's concern, is this intended? It seems like you're assigning (ss-i)->continuationHistory twice.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not intended...I will remove the redundancy

@snicolet snicolet changed the title CMH-Cap - Bench: 4131643 Introduce separate counter-move tables for captures Oct 5, 2019
@snicolet snicolet closed this in 2e96c51 Oct 6, 2019
@snicolet
Copy link
Member

snicolet commented Oct 6, 2019

Merged via 2e96c51, congrats! :-)

@MichaelB7
Copy link
Contributor

Awesome patch - congrats!

MichaelB7 pushed a commit to MichaelB7/Stockfish that referenced this pull request Oct 8, 2019
Enhance counter-move history table by adding a capture/no-capture dimension,
depending wether the previous move was a quiet move or a capture. This doubles
the size of the table but provides more accurate move ordering.

STC:
LLR: 2.95 (-2.94,2.94) [0.50,4.50]
Total: 79702 W: 17720 L: 17164 D: 44818
http://tests.stockfishchess.org/tests/view/5d97945e0ebc590c21aa724b

LTC:
LLR: 2.96 (-2.94,2.94) [0.00,3.50]
Total: 29147 W: 4907 L: 4651 D: 19589
http://tests.stockfishchess.org/tests/view/5d97ccb90ebc590c21aa7bc0

Closes official-stockfish#2344

Bench: 4131643
@VoyagerOne VoyagerOne deleted the cmhCapRB branch October 10, 2019 13:23
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.

4 participants