Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programmers Question: Hashing and Alpha/Beta bounds

Author: Johannes

Date: 15:52:13 06/06/05

Go up one level in this thread


Thanks for the quick responses!

I've already tried some of your suggestions and it works fine.
Another question that I have:
What about Mating scores? If i get a mating score from the TT there is also no
need to continue the search (other than improving the "mating distance"), right?

if (tt_flag == VALID && (tt_merit > -MATE_THRESHOLD || tt_merit <
MATE_THRESHOLD)) return tt_merit;
if (tt_flag == LBOUND && tt_merit > -MATE_THRESHOLD) return tt_merit;
if (tt_flag == UBOUND && tt_merit < MATE_THRESHOLD) return tt_merit;

greets
johannes




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.