Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Lazy eval and quiescent()

Author: Uri Blass

Date: 07:20:46 09/07/04

Go up one level in this thread


On September 07, 2004 at 08:34:26, Jeff GAZET wrote:

>Good morning,
>
>i found the following code on this post :
>http://chessprogramming.org/cccsearch/ccc.php?art_id=362206
>
>quiescent()
> {
> if(lazy score + margin < alpha ||
> lazy score - margin > beta)
> score = lazy score modified by margin
> else
> score = eval()
>...
>}
>
>I understand a little, so could someone explain to me those lines ? is it safe ?
It is safe in case that you always have
abs(eval()-lazy score)<=margin

>what is the value of "lazy score modified by margin" ?

it means lazy score+margin if lazy score+margin<alpha and
lazy score-margin if lazy score-margin>beta.

Uri



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.