[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Bug-gnubg] GNUBG no-gui question
From: |
Ian Shaw |
Subject: |
RE: [Bug-gnubg] GNUBG no-gui question |
Date: |
Thu, 3 Feb 2005 09:32:13 -0000 |
> -----Original Message-----
> From: Joachim Matussek
> Sent: 03 February 2005 01:26
>
> i tried to perform some batch rollouts with a GNUBG no-gui
> Windows version.
>
> I use a .sh file containing the following commands.
>
> ./gnubg-no-gui.exe -q << EOF > aa/stats.txt new session set
> board 67sCAEDtvRAgAA set matchid cAkAAAAAAAAA rollout .
> .
>
> I have done ply-evaluations with "hint" which worked very
> well. But "rollout" doesn´t seem to work. Maybe the reason is
> that the GNUBG output contains some backspaces.
>
> Any idea or workarounds?
>
I use a command file to do the job. It outputs to the screen and I export the
results to an html file. Examples below.
A long time ago I made a batch file to read in commands from one file and
output to another. It was very simple:
gnubg.exe -t< setup.txt > eval.txt
This was in the days before gnubg-no-gui existed, so I had to use the -t
switch. I also remember that it was very sensitive to the spaces around the < &
> signs.
Hope this helps.
-- Ian
___________________________________
# Load the rollout settings
load command FreeDropSettings.txt
new match 1
set score 0 0
set crawford off
set matchinfo comment Responses to initial 51 played 24/18
set turn 0
set dice 51
move 24 18
set dice 66
hint
rollout =1
export position html ".\FreeDrop\2pC51b_66.htm"
#rollout =2
export position html ".\FreeDrop\2pC51b_66.htm"
#rollout =3
export position html ".\FreeDrop\2pC51b_66.htm"
1. Rollout 24/22 13/7* MWC: 49.94%
49.9% 16.8% 3.1% - 50.1% 15.6% 2.8% CL 49.94%
[ 0.2% 0.4% 0.4% - 0.2% 0.4% 0.3% CL 0.19%]
Full cubeless rollout (trunc. at one-sided bearoff) with var.redn.
1296 games, Mersenne Twister dice gen. with seed 952669440 and quasi-ran
dom dice
Play: 2-ply cubeless prune
keep the first 2 0-ply moves and up to 3 more moves within equity 0.1
keep the first 0 1-ply moves
Cube: 2-ply cubeful prune