GNU.WIKI: The GNU/Linux Knowledge Base
[HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]
[0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]
bearoffdump - dump a position from the GNU Backgammon bearoff database
bearoffdump file id
bearoffdump takes the path to a GNU Backgammon bearoff database and a
position number and dumps the bearoff information for that position.
It can be called on either the one-sided bearoff database, normally
/usr/share/gnubg/gnubg_os0.bd; or the two-sided bearoff database,
normally /usr/share/gnubg/gnubg_ts0.bd. The output from the former
includes the probabilities of bearing off all checkers in varying
numbers of moves. The latter only gives the probability of winning and
doubling cube equity.
The id is difficult to derive if you don't know GNU Backgammon
internals. Each possible combinatorial position of checkers and points
is assigned a position number, id divided by that number is the player
position, and id modulo that number is the opponent position. The
number of points and checkers is set when building the bearoff database
and are shown by bearoffdump when run with any id.
Joseph Heled, Øystein Johansen, Jørn Thyssen, and Gary Wong, with the
assistance of many others <email@example.com>.
This manual page was written by Russ Allbery <firstname.lastname@example.org>, for the
Debian GNU/Linux system (but may be used by others). It may be
redistributed and/or modified under the terms of version 2 of the GNU
General Public License as published by the Free Software Foundation
(the same license as GNU Backgammon).
All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to email@example.com.Page load time: 0.085 seconds. Last modified: November 04 2018 12:49:43.