Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Qsearch Checks

Author: Uri Blass

Date: 09:21:01 08/30/04

Go up one level in this thread


On August 30, 2004 at 07:36:45, Volker Böhm wrote:

>Hi Uri,
>
>do you allways check all evades in qsearch or only until a certain ply as for
>checking moves?
>
>Greetings Volker

only until a certain ply but that ply is late.
I also do not check all captures and do it only until a certain ply.

I practically have 2 functions of qsearch
int Quies(int alpha, int beta,int depth)

int quiesmall(int alpha,int beta,int depth)

Quies search checks and captures and when the depth is small enough Quies calls
quiesmall (quiesmall does not make checking moves that are not captures but it
calculate all replies to check unless the remaining depth is small enough and
when the remaining depth is 0 even captures are not tried.


Quies usually starts with depth=7 when depth=5 I call quiesmall and when
depth<=2 I do not generate replies to check and when depth=0 I do not make more
captures and retrun static evaluation+pawn with the idea that the side to move
may earn something by a capture but I do not know how much.

It may be better to use static exchange evaluator but it is not very important
and most qsearch do not get to the place when depth=0 or the result of the
evaluation when depth=0 is not important for the final score.


Uri



This page took 0.01 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.