Dumping a search tree

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

Moderators: hgm, Rebel, chrisw

Robert Pope
Posts: 558
Joined: Sat Mar 25, 2006 8:27 pm

Dumping a search tree

Post by Robert Pope »

Are there any engines besides a special compile of Crafty (trace command) that will output a tree search to screen/disk?
Michel
Posts: 2271
Joined: Mon Sep 29, 2008 1:50 am

Re: Dumping a search tree

Post by Michel »

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.