Computer Chess Club Archives


Search

Terms

Messages

Subject: Basic questions regarding pawn hash

Author: GeoffW

Date: 11:24:57 06/13/04


Hi

I was thinking how I would add pawn hashing to my program. Having read a little
of the Crafty source I have a rough grasp of the idea, however there are a
couple of things I am hazy on.

Q1)
I understand the pawn hash score stored must not contain any piece related
scoring as that must be factored in later. In my program even the simple choice
of which pawn position look up table is determined by the phase of the game, i.e
it will be piece dependent. How would I get over that obstacle ? Score the pawns
for end game, opening and  middle in the hash, and choose which one to use later
?

Q2)
Crafty uses an 8 bit bitmap to store file for passers, this is ok for a bitboard
program as it is probably trivial to find the exact location later. However for
a non bitboard program it is non trivial to find the exact locations. Do I have
any alternative but to store the passer locations in the hash ? That would be 16
bytes just for the passed pawns for both sides?

Hope my questions made sense I typed them quickly as the England match is about
to start, must dash ...................

Thanks for any help

     Regards Geoff






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.