bug-gnubg
[Top][All Lists]
Advanced

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

RE: [Bug-gnubg] bearoffdump


From: Ian Shaw
Subject: RE: [Bug-gnubg] bearoffdump
Date: Fri, 30 Apr 2004 11:29:03 +0100

Jon Kinsey wrote:
> 
> Joern Thyssen wrote:
> 
> > On Thu, Apr 29, 2004 at 11:56:55AM +0000, Joern Thyssen wrote
> > 
> >>I'll commit a fix for this tonight!
> > 
> > 
> > It's committed. Stay tuned for a new build of bearoffdump.
> 
> Morning, here it is:

Yee ha! 15 chequers on 
the 13 point = 195 pips. epc - wastage = 202.052 - 7.052 = 195. See below.

At present, people don't use the bearoff database on disk because it's slow 
compared to the race net. When I want to use it, I copy in the database to the 
gnubg directory and restart gnubg. I then have to remember to remove it 
afterward. Some users will struggle to do that, not mentioning any No 7 Giants 
by name ;)
I was going to write a DOS batch file to do the job, but it would be better if 
there was a switch in the gui. Is this simple to add?

Anyone want a 13-point one sided database? Can I FTP it somewhere so that it 
can go on the website?
We ought to at least update the documentation with the MD5 checksum I posted.

I'll wait for Nardy to do a new build and check that it works properly.

Bearoffdump has the makings of a nice bearoff database interrogation utility. 
If you added chequer distribution and pip count to the output and the ability 
to output format a single line to a file, you could write a script to, say, 
find the most efficient distribution of n pips, or find positions with pipcount 
of n and m chequers on the ace.

C:\Program Files\Gnubg>bearoffdump gnubg_os.bd  37442159
Bearoff database: gnubg_os.bd
Position#       : 37442159

Information about database:

 * On disk 1-sided bearoff database evaluator:
   - generated by GNU Backgammon
   - up to 15 chequers on 13 points (37442160 positions) per player
   - database includes gammon distributions
   - number of reads: 0


Dump of position#: 37442159

             Player       Opponent
Position            0      37442159

Bearing off                             Bearing at least one chequer off
Rolls   Player  Opponent        Player  Opponent
    0   100.000   0.000         100.000   0.000
    1     0.000   0.000           0.000   0.000
    2     0.000   0.000           0.000   0.000
    3     0.000   0.000           0.000   0.000
    4     0.000   0.000           0.000   0.000
    5     0.000   0.000           0.000   0.000
    6     0.000   0.000           0.000   0.000
    7     0.000   0.000           0.000   0.000
    8     0.000   0.000           0.000   0.000
    9     0.000   0.000           0.000   0.003
   10     0.000   0.000           0.000   0.089
   11     0.000   0.000           0.000   0.902
   12     0.000   0.000           0.000   4.675
   13     0.000   0.000           0.000  13.466
   14     0.000   0.000           0.000  23.388
   15     0.000   0.002           0.000  25.284
   16     0.000   0.020           0.000  18.116
   17     0.000   0.105           0.000   9.325
   18     0.000   0.404           0.000   3.566
   19     0.000   1.167           0.000   0.970
   20     0.000   2.708           0.000   0.188
   21     0.000   5.237           0.000   0.026
   22     0.000   8.627           0.000   0.003
   23     0.000  12.239           0.000   0.000
   24     0.000  14.990           0.000   0.000
   25     0.000  16.031           0.000   0.000
   26     0.000  14.296           0.000   0.000
   27     0.000  10.979           0.000   0.000
   28     0.000   7.097           0.000   0.000
   29     0.000   3.812           0.000   0.000
   30     0.000   1.682           0.000   0.000
   31     0.000   0.603           0.000   0.000

Average rolls
Bearing off                             Saving gammon
        Player  Opponent        Player  Opponent
Mean      0.000  24.741           0.000  14.840
Std dev   0.000   2.457           0.000   1.557

Effective pip count:
        Player  Opponent
EPC       0.000 202.052
Wastage   0.000   7.052

EPC = 8.167 * Average rolls
Wastage = EPC - pips




reply via email to

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