Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Avoiding Null Move based on Hash

Author: Paul Clarke

Date: 02:56:49 09/22/04

Go up one level in this thread


On September 21, 2004 at 22:42:59, Stuart Cracraft wrote:

>Hi -- trying to avoid doing a null move based on draft from the
>hash table and R based on something some postings here from 1998.
>
>Have a look and see if this is accurate. I tried the same flag ==
>UBOUND code from the first block at (1) over at (2). Both separately showed
>worse results in testing than having neither.
>
>#ifdef TT
>  // Probe hash table. If seen before with equal or greater draft, return.
>  // Otherwise, set alpha and beta bounds if available.
>  // Last, if alpha exceeds or equals beta, return.
>  if (retrieve(&length, &score, &flag, &hashmv)) {
>(1)    if (flag == UBOUND && depth-R <= length && score < beta) donull = 0;

Why only set donull to zero when you have an upper bound? Why not do it on an
exact score too (after all, an exact score is also an upper bound)? Also, you
use "depth" here but "sdepth" below - is that intentional? If so, what's the
difference?

As Volker mentioned, I assume you set donull to 1 before this section of code?

[snip]



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.