Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: perft weirdness

Author: Uri Blass

Date: 14:34:01 01/02/03

Go up one level in this thread


On January 02, 2003 at 15:29:19, Russell Reagan wrote:

>On January 02, 2003 at 06:57:15, Steve Maughan wrote:
>
>>1) Try a situaltion where no castling is allowed e.g. move king to d1 and d8.
>>See if the problem still exists.  This will tell you if it is a castling
>>problem.
>
>I did try the same position with the kings on the d-file as you said, and it
>calculated perft correctly for 5 or 6 ply, so yes, I'm thinking it has something
>to do with castling.
>
>>2) Are you doing repetition detection in the perft routine?  I'm not sure what
>>the convention is - is it the norm?  Clearly the 4th ply would be when it comes
>>to light.
>
>I didn't think of this. No, I'm not doing repetition detection yet. I am getting
>a lot of incorrect perft(4) data, but so far all errors seem to be less than the
>correct values, which would lead me to believe that the current problems are not
>with repetition detection (since the correct engine would have less nodes due to
>NOT continuing after the repetition, where mine would get to the repetition and
>just keep on crunching).

The correct engine should ignore repetitions when it calculates perft.

perft n gives the number of games with n plies.
The sides do not have to declare draw by repetition or by 50 move rule so you
can ignore them when you calculate perft.

Uri



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.