Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Avoiding Null Move based on Hash

Author: Stuart Cracraft

Date: 14:26:22 09/23/04

Go up one level in this thread


On September 22, 2004 at 11:53:04, Dan Honeycutt wrote:

>On September 21, 2004 at 22:42:59, Stuart Cracraft wrote:
>
>>  if (retrieve(&length, &score, &flag, &hashmv)) {
>>(1)    if (flag == UBOUND && depth-R <= length && score < beta) donull = 0;
>>    if (length >= sdepth) {
>
>Unrelated to your question:  there is no ply going to retrieve() so I assume you
>are handling mate score adjustment elsewhere.
>

I do -- when the mate is detected, after the main search move loop by
if legal is 0 and in check so the best = -MATE+depth.

>To your question:  do you not hash mate threat?  If the null move gets you mated
>you can set donull = 0.  You can also use it for Moreland's extension.
>

I need to try it.

>Dan H.



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.