draw scores in hash table

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

draw scores in hash table

Post by Don »

Is there a consensus on how draw scores should be handled?

Currently my program just treats them the same. But it used to be considered bad to score a score of zero (or a repetition score that is) in the hash table.

Another system that I used to use is to make the repeition score unique by using all other score to be even numbers and using an odd value for the draw score (and not storing them in the hash table.)

Of course it's understand that none of these ideas prevent GHI problems - the only issue is whether it helps some.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: draw scores in hash table

Post by bob »

Don wrote:Is there a consensus on how draw scores should be handled?

Currently my program just treats them the same. But it used to be considered bad to score a score of zero (or a repetition score that is) in the hash table.

Another system that I used to use is to make the repeition score unique by using all other score to be even numbers and using an odd value for the draw score (and not storing them in the hash table.)

Of course it's understand that none of these ideas prevent GHI problems - the only issue is whether it helps some.
I avoided storing them and it slighly hurt cluster testing results. I store them normally, but for 50 move issues, when I get close to the 50 move counter, I do go thru and invalidate the scores at something like move 40 and 45, to let me search around those kinds of draws when possible.