repo.or.cz
/
pachi
/
json.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
TESTS: 7bbaa -> 9367d
[pachi/json.git]
/
genbook.sh
blob
b0cb9421e8eeb2d9378940da79a9de361cf70398
1
#!/bin/sh
2
rm
uctbook-9-7.5.pachitree
3
n
=
0
4
genbook1
()
5
{
6
echo
"[#
$n
:
$1
]"
7
n
=
$
((
n
+
1
))
8
echo -e
'boardsize 9
\n
clear_board
\n
komi 7.5
\n
uct_genbook b'
| .
/
zzgo games
=
1000000
,
policy
=
ucb1amaf
:
explore_p
=
$1
9
}
10
genbook1
0.2
11
genbook1
0.6
12
genbook1
1.0
13
genbook1
2.0
14
genbook1
2.0
15
genbook1
0.6
16
genbook1
2.0
17
genbook1
0.2
18
genbook1
0.2