Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programmers: beginner tree search questions

Author: Edward Seid

Date: 14:03:46 09/30/03

Go up one level in this thread


On September 30, 2003 at 16:49:41, Gian-Carlo Pascutto wrote:

>On September 30, 2003 at 16:34:37, Edward Seid wrote:
>
>>Question 1:
>>I've been reading the literature about alpha-beta pruning.  Normally, the
>>initial call to alpha-beta is with alpha = -infinity and beta = +infinity.  If
>>one wanted to do a tree search all the way to the terminal nodes, where the
>>score would be either -9999 or 0 or +9999, would it make sense to set alpha =
>>-9999 and beta = +9999 in the first call to alpha-beta?
>
>I'd use -10000 and +10000, but it probably makes no difference.

In the example where the terminal nodes are either -9999 or zero or +9999, it
does make a difference.  Setting alpha/beta to +/-10000 performs the same as
+/-infinity.  If using +/-9999, then it's possible for the score to equal either
alpha or beta.  Shouldn't that result in faster cutoffs or is my logic wrong?



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.