Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Tablebase format

Author: Dan Newman

Date: 01:42:55 08/29/98

Go up one level in this thread


On August 28, 1998 at 19:19:28, Larry Coon wrote:

>On August 28, 1998 at 14:12:57, Dan Newman wrote:
>
>
>>Yes, I think that's it.  (But, what if there are two pawns;
>>which gets the "qsf" index?  My vote is: the last one.)
>>
>>-Dan.
>
>I may be missing the obvious, but does it matter?
>Pick -either- pawn and force it to the queenside,
>and let the other be an "all", and I think it'll
>work the same whichever one you pick.
>
>Larry Coon

Hmm.  You're right--that it doesn't matter which pawn on the
board is chosen to be the one--but it does matter which index
gets to be the "qsf" index.  For example KRKPP could have the
signature "qsf all all all all" or "all qsf all all all"
which makes a difference in how you calculate the offset into
the file.  The "qsf" coordinate has to be remapped from the
range [0-63] to [0-31] and the other coordinates transformed
depending on whether the qsf-pawn flipped sides or not.  I
guess the trouble is that we don't know for sure which SJE
has chosen--it merely seems reasonable to me that he'd choose
the last pawn.  (For that matter, I don't see why it would
have to be a pawn that gets the "qsf" index--I'm
extrapolating from the KPK case I guess...)

-Dan.



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.