Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: What approach do you use to handle castling/en passant for repetition?

Author: William Bryant

Date: 14:04:13 02/28/00

Go up one level in this thread


I am curious,
do you hash a different constant for each of the 16 possible ep squares, or
simply a single constant if ep is possible.

I have sixteen different values that are XOR'ed into the hash signature
depending on which square is the ep square.

It is intersting that Bruce made a comment about this a while back.  He noted
that the same opening position reached by a different order of moves will
produce a different hash signature doing ep squares in this way.  Therefore it
does create a degree of inefficiency because (except for the ep move) the rest
of the position may have already been evaluated and in the hash table.

William
wbryant@ix.netcom.com





This page took 0.01 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.