Dumping a search tree

Discussion of anything and everything relating to chess playing software and machines.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Robert Pope
Posts: 516
Joined: Sat Mar 25, 2006 7:27 pm

Dumping a search tree

Post by Robert Pope » Mon Jan 20, 2020 3:50 pm

Are there any engines besides a special compile of Crafty (trace command) that will output a tree search to screen/disk?

Michel
Posts: 2087
Joined: Sun Sep 28, 2008 11:50 pm

Re: Dumping a search tree

Post by Michel » Mon Jan 20, 2020 4:10 pm

GnuCheese can do it...

http://hardy.uhasselt.be/GnuCheese/

Code: Select all

$ gnucheese 
Initializing 64 bit magics...
Transposition table:  Entries=2048K Size=49152K
Pawn hash table: Entries=1K Size=72K
Eval cache table: Entries=1024K Size=8192K
3-pc GTBs complete
No 4-pc GTBs available
No 5-pc GTBs available
GnuCheese 1.00-64-cf885f3ed0eea187
HashKey=463b96181691fc9c
Repeat=0
FEN=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
white  KQkq
    +---+---+---+---+---+---+---+---+
  8 |*R*|*N*|*B*|*Q*|*K*|*B*|*N*|*R*|
    +---+---+---+---+---+---+---+---+
  7 |*P*|*P*|*P*|*P*|*P*|*P*|*P*|*P*|
    +---+---+---+---+---+---+---+---+
  6 |   | . |   | . |   | . |   | . |
    +---+---+---+---+---+---+---+---+
  5 | . |   | . |   | . |   | . |   |
    +---+---+---+---+---+---+---+---+
  4 |   | . |   | . |   | . |   | . |
    +---+---+---+---+---+---+---+---+
  3 | . |   | . |   | . |   | . |   |
    +---+---+---+---+---+---+---+---+
  2 | P | P | P | P | P | P | P | P |
    +---+---+---+---+---+---+---+---+
  1 | R | N | B | Q | K | B | N | R |
    +---+---+---+---+---+---+---+---+
      a   b   c   d   e   f   g   h
dump on
Dumping tree to dump.log
analyze
...
The resulting file is a text file. In retrospect it would have been far more efficient to use a binary dumping format and then to use a utility to extract a human readable tree from it. Of course one is limited by disk space. The tree grows very rapidly.
Ideas=science. Simplification=engineering.
Without ideas there is nothing to simplify.

Post Reply