Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Finding mate in the quiesce search

Author: Anthony Cozzie

Date: 06:29:40 08/24/04

Go up one level in this thread


On August 24, 2004 at 08:45:56, Alessandro Scotti wrote:

>What value do you return when you find a mate in the quiesce search? I used to
>return a "mate" score but then I found this is not correct because many paths
>were not considered in quiesce, so sometimes I got a "mate in n" score at the
>root which wasn't really a forced mate. I've patched the bug by returning a
>fixed value for now, but... which value is best?

I return the mate score.  I fail to see any problems with this.  For example, if
q-search sees:

Qxd5 Rxe8 mate

this just means that it can't play Rxe8, and thus will have to stick with the
static score before Qxd5.

anthony



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.