Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Schröder's new web page

Author: Alessandro Damiani

Date: 09:21:34 12/28/02

Go up one level in this thread



>>It seems to me that there are two typos in the following code:
>>
>>{
>>   if (remaining_depth > 2
>>      && king_not_in_check
>>      && move_is_no_capture
>>      && move_is_not_giving_a_check) then
>>       { if (ALPHA < SCORE + MARGIN) reduce depth with 1 }
>>}
>>
>>1) king_not_in_check <=> move_is_not_giving_a_check
>
>I interpret "king_not_in_check && move_is_no_capture &&
>move_is_not_giving_a_check" as My king is not in check and I can't capture any
>of his material and I can't check his king, so it looks fine to me.
>

As you say you interpret, as I did. So, something is not clear.


>>2) instead of
>>
>>       ALPHA < SCORE + MARGIN
>
>You have a SCORE below ALPHA and you want to know if it is far enough below
>ALPHA to warrant a reduction, so you add MARGIN to it to see if it is still
>below ALPHA. If it is, you reduce. This looks fine to me too.
>

We both understand the idea, but formally the condition is wrong, as I showed.

But Ed knows best.

Alessandro



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.