Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Organizing the Opening Book -- File Format

Author: Andrew Williams

Date: 05:49:20 06/20/00

Go up one level in this thread


On June 20, 2000 at 08:22:20, William Bryant wrote:

>Thank you Andrew.
>
>I had actually saved this post but it is nice to have it again.
>
>Part of my question involves the structure of the opening book file
>to allow rapid indexing into all the position records.
>
>What binary format do you use, and how do you efficiently index into the
>file to find all the moves once you have established hash records for
>them.  Theoretically, the moves for a given position will be spread out
>over the entire file if organized by hash signature.
>
>Thanks again.
>
>William
>wbryant@ix.netcom.com

Hi,

Yes. My positions are indexed by hash code and therefore distributed
throughout the file. I think someone here said that crafty has an
index scheme to solve this sort of problem. I haven't bothered to
try this with mine. My book for playing at ICC is huge (430Meg)
I should think about it, but I've not had much time lately.

Andrew




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.