Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hash move question

Author: Fabien Letouzey

Date: 03:33:56 06/25/04

Go up one level in this thread


On June 25, 2004 at 06:12:45, Jeff GAZET wrote:

>in the search function, when i've got a corresponding hash entry for the current
>position, i look as the hash move. And this move is not valid for the current
>position (i.e. there is no piece on the from square), how is it possible as
>current hash and the hash in the table are the same ?

Hi Jeff,

Because the hash key, even when 64-bit long, does not uniquely represent
reachable chess positions.  Although *very* unlikely, two different positions
can share the same hash key.

However in practice if you encounter any illegal moves during the search, it
usually indicates a bug somewhere else.

Fabien.




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.