Author: Ricardo Gibert
Date: 18:43:59 09/13/00
Go up one level in this thread
On September 13, 2000 at 17:12:07, Andreas Herrmann wrote: >Hello, > >i want to include pawn hash tables in my chess program holmes, but i don't know >how i have to calculate the hash index and the hash key. >I think the hash index of the position will only calculated with the pawns on >the board like the following, > >for (pos=A1;pos<=h8;pos=pos+1) { > if (figure[pos]=pawn) { > PawnHashIndex = PawnHashIndex ^ RandomIndex[pos].index; > } >} > >is this right?? > >How can i get a good hash key? What have i calculate with xor? > >Thanks for each information. > >Andreas > > >www.wbholmes.de http://www.netlib.org/utk/lsi/pcwLSI/text/node346.html http://www.ics.uci.edu/~eppstein/180a/970424.html http://members.nbci.com/dbreuker/thesis/index.html
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.