Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hashing

Author: Russell Reagan

Date: 19:20:19 04/04/03

Go up one level in this thread


On April 04, 2003 at 22:10:16, Robert Hyatt wrote:

>On April 04, 2003 at 14:40:44, Russell Reagan wrote:
>
>>I would like to know which elements of the position are commonly included in
>>hash signatures, and the issues with including or excluding certain elements.
>>Currently, I am including the board, the side to move, castling rights, and en
>>passant square.
>>
>>I'm not sure how important it is to hash the en passant square, since ep squares
>>regularly exist, but an ep capture is legal only a small percentage of that
>>time.
>>
>>I'm also not sure how important it is to hash the castling rights, since if the
>>castling rights are different, it's likely that the board is too.
>
>
>All are important.  I do what you are doing in fact...

Do you do what others have described in this thread and only hash the ep square
if there is an enemy pawn present to make the ep capture on the next move?



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.