t-unit: two_eyes test suite
[pachi.git] / tools / autobook / README
blob2505bd9cf55c94fab21f7ff4b1d21276caeb0b60
1 This is a shell-based UCT implementation. ;-)
3 From another perspective, this is a tool for automated opening book
4 construction. The book is based on UCT tree with large exploration
5 coefficient and fed with results from games against a compenent
6 opponent.
8 The UCT tree is stored in a directory tree, directories are nodes,
9 UCT statistics are stored in the 'stats' file of each directory
10 (first line is # of wins, second is # of playouts).  Start the book
11 building by running the
13         autobook.sh PACHI_CMD OPPONENT_CMD BOOKDIR
15 script, specifying complete Pachi and opponent's invocation details
16 in the two parameters. If BOOKDIR exists, autobook.sh will continue
17 an existing opening book build; multiple autobook.sh scripts may
18 be running too. Just break it (Ctrl-C) when you want to stop.
20 These helper scripts are used by autobook.sh:
22         walk.sh         A single iteration of the algorithm
23         eval.sh         Choose next move to choose in the current directory (node)
24         expand.sh       Create subdirectories (followup nodes) in the cwd
26 The built autobook can be converted to an opening book in the fbook
27 format (on the most-simulated basis) using:
29         autobook2fbook.sh BOOKDIR