Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: What is the reason to call evaluate() at every node of qsearch?

Author: Robert Hyatt

Date: 14:25:07 05/04/05

Go up one level in this thread


On May 04, 2005 at 16:19:35, Kevin K wrote:

>Do we call evaluate() at every node of qsearch to exit if stand-pat score is
>>= beta?
>What will happen if I call evaluate only at terminal nodes(when mated or there
>is nothing to capture)?


That means you _must_ make captures since the only way to get a score is to
reach a position where there are no more captures to make.  That will produce
some ugly stuff here and there.  Captures are optional.  You can make on or not.
 Suppose the first q-search position you reach has one capture, QxP, and if you
take it, the opponent takes your queen.  Is that position really bad for you
since you lose your queen?  Even if before the QxP move you were a rook up?

that is why you use the static evaluation for the "stand-pat" score and then try
captures to see if they can improve on "doing nothing more".



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.