Computer Chess Club Archives




Subject: Re: Book design

Author: Robert Hyatt

Date: 22:31:06 11/28/02

Go up one level in this thread

On November 29, 2002 at 00:28:47, Uri Blass wrote:

>On November 28, 2002 at 19:51:40, Robert Hyatt wrote:
>>On November 28, 2002 at 04:23:15, Sune Fischer wrote:
>>>My present book format is really simple, too simple.
>>>I would like to use transpositions and book learning, so I need a new format.
>>>Is there a "standard" way of doing this, some well known technique which
>>>includes statistics for each line and makes it possible to transpose back into
>>>the book?
>>>I can only think of primitive ideas, like storing the full FEN and append each
>>>possible move reply to it. That will of course blow the book to a huge file. I
>>>guess some other hashing scheme can be done, but what is the _best_ way? :)
>>Store the "hash signature" for a position.  If you can make a move and reach
>>this hash signature, you know this is a book move...
>It is possible that your opponent blundered and you have too possibilities:
>1)play a move that leads to a forced mate.
>2)Making a move that leads to a book position.
>In this case you can make a move and reach the hash signature that you know but
>the move is not good because  it gives you book position instead of checkmate.

Several ways to solve that.

1.  Do a search before playing a book move;

2.  do as I do and use part of the "before" hash signature and part of the
"after" hash signature, so that you won't transpose as you suggest...

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.