bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Rollout data not displayed in no-gui version


From: Jim Segrave
Subject: Re: [Bug-gnubg] Rollout data not displayed in no-gui version
Date: Wed, 8 Oct 2003 21:49:31 +0200
User-agent: Mutt/1.4i

On Wed 08 Oct 2003 (11:00 +0100), Ian Shaw wrote:
> 
> Joern Thyssen wrote on Tuesday, October 07, 2003 10:43 AM
> > On Tue, Oct 07, 2003 at 09:07:02AM +0100, Ian Shaw wrote
> > 
> > > This hasn't always been so. The win-gammon-loss breakdown used to be
> > > displayed, with the number of trials updating at the end of 
> > the line.
> > 
> > Yes, but only for one rollout, so if you rolled out 5 moves you would
> > only see the wins and #trials for the first. Similar for cube 
> > decisions:
> > you would only see the "no double" part.
> >
> Then my memory is playing tricks on me. I seem to remember gnubg-no-gui 
> stating a new line when a new trial started. Ah! That was probably before the 
> code was changed to do parallel trials of each position, rather than run each 
> to conclusion before starting the next one. 
>  
> > > It would be nice to have that back. Maybe my memory is tricking me,
> > > but I thought the standard error was displayed as well. 
> > 
> > I can put it pack, but you'll only see one line for the first rollout
> > only, so you can't use it to manually stop a rollout of two moves when
> > the jsd is small enough.
> > 
> That would be fine for what I'm doing. I'm only rolling out single positions 
> from the Analyse...Rollout menu option. I'm not using the analysis. (But I 
> would if there was a way of rolling out the initial position, since it would 
> allow me to save & extend rollouts.)

Hmm - you can you know, it's crude and take longer than you want,
but a bit of lateral thinking gets you there.

Start a game/match/whatever you want to look at initial positions
for. Set both players to human. Let gnubg roll the dice. Make a move
for whoever wins.  Edit the position to put the chequers back to the
start, then, for the player now on roll, move 2 chequers from that
player's 13 to his 14 and 15 points. Set the dice to 2 1. Exit edit
mode and play 14/13 15/13. Now you've got the initial chequer
position. For the player on roll, double.  Select the double in the
play list and analyse it at 0 ply. Set your rollout settings for the
rollout you want to do, click rollout as an initial position.

You are now about to roll out the choice of doubling or not, from the
starting position, with the first roll not being a double. Do the
rollout. The results of the the no-double rollout are what you
wanted. They can be saved, printed, extended, what have you. It's just
a shame that you also get a rollout of the illegal double, which is
simply wasted CPU cycles.

Here's a sample (a very short one)

clientgnubg (O, 0 pts) vs. remotegnubg1 (X, 0 pts) (money game)

Game number 1

Match Information:

Date: October 08, 2003
Move number 5: O on roll, cube decision?

    GNU Backgammon  Position ID: 4HPwATDgc/ABMA
                    Match ID   : MAEAAAAAAAAA
    +-1--2--3--4--5--6-------7--8--9-10-11-12-+  O: clientgnubg
    | X              O |   |    O           X |  0 points
    | X              O |   |    O           X |  On roll
    |                O |   |    O           X |  
    |                O |   |                X |  
    |                O |   |                X |  
    |                  |BAR|                  |^ (Cube: 1)
    |                X |   |                O |  
    |                X |   |                O |  
    |                X |   |    X           O |  
    | O              X |   |    X           O |  
    | O              X |   |    X           O |  0 points
    +24-23-22-21-20-19------18-17-16-15-14-13-+  X: remotegnubg1
Pip counts: O 167, X 167

* clientgnubg doubles

Alert: wrong double ( -0.383)! [very bad]
Cube analysis
Rollout cubeless equity  +0.005

Cubeful equities:
1. No double            +0.001
2. Double, pass         +1.000  ( +0.999)
3. Double, take         -0.381  ( -0.383)
Proper cube action: No double, beaver (27.7%)
Rollout details:
Centered 1-cube:
  0.505 0.135 0.005 - 0.495 0.140 0.006 CL  +0.005 CF  +0.001
 [0.004 0.003 0.000 - 0.004 0.003 0.000 CL   0.010 CF   0.020]
Player remotegnubg1 owns 2-cube:
  0.506 0.134 0.005 - 0.494 0.139 0.006 CL  +0.014 CF  -0.381
 [0.004 0.003 0.000 - 0.004 0.003 0.000 CL   0.019 CF   0.026]
Truncated cubeful rollout (depth 20) with var.redn.
144 games, rollout as initial position, Mersenne Twister dice gen. with seed 1 
and quasi-random dice
Play: 0-ply cubeful [expert]
Cube: 0-ply cubeful [expert]
Output generated Wed Oct  8 21:39:57 2003
by GNU Backgammon 0.14-devel (Text Export version 1.58)

 

-- 
Jim Segrave           address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]