Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: null move and mate threat

Author: Stuart Cracraft

Date: 07:00:05 10/09/04

Go up one level in this thread


On October 08, 2004 at 20:37:29, Michael Henderson wrote:

>I'm not sure if I saw code for adjusting mate scores for the hash table.  That's
>really what I'm worried about.  If you do not adjust them, your mate threat
>detection will not work!  Btw, are your recaptures _any_ two captures in a
>row...I don't know if you still have that.  If you do, that will definitely get
>you in the <10 sec range even w/out mate threat extensions.
>
>I also saw this code:
>   if (MTHR_EXT != 0.0 && value == MATE+ply+2) { threat=1; }
>isn't it supposed to be if (value == -MATE...) ?
>

My MATE is -MAXNUM+100 so in the above, it is like value == -MAXNUM+ply+2.

My recaptures is nearly any two captures in a row but I don't want to solve
141 with that. I'd like to have mate threat working. Not sure about what is
meant by adjusting mate scores for the hash table. What's to adjust?
I find a mate, a modify it by +ply, then I store that position with that
score in the hash table. Don't I want to do that?!?

Stuart



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.