Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: SSEChessII 2.045 Released - Bug Fix Version

Author: Sam Slutzky

Date: 19:01:24 12/21/00

Go up one level in this thread


On December 21, 2000 at 17:10:29, David Rasmussen wrote:

>
>Thanks for posting this!
>
>I wish more programmers would post their bugfixes, for others to learn from.
>
>I'm not sure my program is affected by this though. I have pvlength[ply]=ply; at
>the start of search (root is ply 0), so I never have to adjust the pv as far as
>I can see. It is one of the things that confuse me when I look at Craftys code.
>There is all sorts of fiddling with the pv in the case of exact hash cutoff,
>draw by repetition etc. and calling SavePV.
>
>I don't understand why that approach is better than just having
>pvlength[ply]=ply; in the beginning of Search()

I actually *do* set pvlen[ply]=ply; at the top of my Search().  I check for draw
by the fifty-move rule and draw by repetition during the main loop in Search()
instead of at the top.  If it isn't a draw, I call the normal x=-search(.....);,
otherwise I set x=DRAW_SCORE;  If pvlen[1]=4 from an earlier search of a move at
ply 1, I get hosed here.  So, I now set pvlen[ply]=ply; when I set x=DRAW_SCORE.
 This seems to work ok for me.

Sam



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.