Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Prinicipal Variation Search

Author: Robert Hyatt

Date: 16:30:07 08/07/03

Go up one level in this thread


On August 07, 2003 at 19:02:34, Rick Bischoff wrote:

>Hi everyone,
>
>I am reading up on the PVS and had a question regarding different code found at
>different places... At this webiste:
>http://www.xs4all.nl/~verhelst/chess/search.html#principal the value of "alpha"
>is never changed inside the loop; the best score found so far is in a seperate
>variable.  But, in Bruce Moreland's webiste:
>http://www.seanet.com/~brucemo/topics/pvs.htm, alpha is being updated instead.
>
>This *has* to have an impact as both functions mentioned above use alpha for the
>window.  Which is the correct way?
>
>Thanks,
>Rick


Done correctly, they are the same.  If you don't modify the alpha value, but
use another variable, then you pass _that_ value as beta to the next search
ply.  It is simpler to just modify alpha each time, which makes the code
more understandable, IMHO.



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.