Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: if (value >= beta) return beta; ---- bug

Author: Heiner Marxen

Date: 11:43:52 07/12/03

Go up one level in this thread


On July 12, 2003 at 14:13:25, Omid David Tabibi wrote:

>Hi,
>
>After a few days of rewriting large parts of my program's code, to my surprise I
>found out that:
>
>if (value >= beta)
>    return beta;

The classic version.

>and
>
>if (value >= beta)
>    return value;

This variant is called "fail soft".
The caller must be prepared to receive a value outside the alpha/beta window.

>don't yield the very same result.

The second version (fail soft) has the potential to generate better results,
sometimes.  When these are reused via the TT, the rest may change.

>I've been trying to find the bug for the past 24 hours, without any success so
>far. Has anyone experienced this problem in the past?! Any ideas as to the
>possible source of the problem?
>
>Thanks.

What is the problem?

Cheers,
Heiner



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.