Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: book file format

Author: martin fierz

Date: 14:37:22 11/10/03

Go up one level in this thread


On November 10, 2003 at 17:18:09, Dieter Buerssner wrote:

>On November 10, 2003 at 17:03:09, martin fierz wrote:
>
>>i'd like to add an opening book to my program. but i'd rather not re-invent the
>>wheel, so i'm wondering if e.g. the chessbase .ctg format is documented
>>somewhere - like that i could just produce a chessbase tree for my program.
>
>I fear, the ctg format is not documented.
>
>>or are there other good ways to create opening books?
>
>To a similar question, I outlined the method, I use for my engine recently in
>http://f11.parsimony.net/forum16635/messages/56567.htm
>
>It is more or less a rather pragmatic approach. Collecting the info from the
>book for a position is not slow (typically not slower than 0.1 s, usually much
>faster). Generation time is very fast (so you can experiment a lot, if you
>want). I certainly could make it more compact, but I would see no real
>advantages for a typical computer. A position (=hash-key) based approach has a
>perhaps significant advantage over a tree based approach - you don't need to
>take care of transpositions. This may be especially significant, when you try to
>overlay an automatically generated book (from a PGN-database, for example) with
>some manually tuned lines (for my engine I can use ??, ?, ?!, !?, ! and !! to
>set some flags in the generated book).
>
>Regards,
>Dieter

hi dieter

i use a similar approach in my checkers program (hashtable etc.). the problem
for my chess program is that this means i have to write a PGN-parser to read the
lines i enter in chessbase (or the games i select from chessbase). and i just
hoped i could do without that ;-)

cheers
  martin



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.