Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hashfunction

Author: Gerd Isenberg

Date: 07:02:26 04/10/03

Go up one level in this thread


On April 10, 2003 at 07:01:32, Andreas Rueckert wrote:

>Hi!
>
>Just signed up and I already have a question. Do you have any suggestions for a
>good hash function to store moves for a given board? I currently use a method,
>that is based on CRC32 over the pieces types on each square plus a value for
>white or black. Rather slow, so I'd be interested in something quicker.
>Sources are available via the mailing list at http://www.java-chess.de .
>
>TIA,
>Andreas

Hi Andreas,

most common technique is using Zobrist keys.
Have a look on Bruce Moreland excellent site:

http://www.seanet.com/~brucemo/topics/zobrist.htm

Regards,
Gerd





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.