|
From: | Joseph Heled |
Subject: | Re: [Bug-gnubg] gammon rate in bearoff situations |
Date: | Fri, 08 Nov 2002 06:43:42 +1300 |
User-agent: | Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020829 |
No magic involved here. getBearoffGammonProbs takes the position of the side wanting to bear one checker. (Since it is a bearoff, all other 19 points are know to be empty, so only 6 are needed). It return the probability of doing so in 1,2,3 or 4 moves, just like the one sided database does for complete bearoff.
Then you do exactly the same thing as in the bearoff computation - I save the gammon if I bear one checker in the next move, and if I don't and op can't bear all of his in his next move, I save by bearing one checker in 2 moves etc.
I do the same to calculate the backgammon in race. I treat it as a "bear out if opponent home" Vs. complete bearing off problem.
-Joseph Øystein O Johansen wrote:
Can you tell us how it works? What does getBearoffGammonProbs take as an argument? (a six element array, yes, but what is it?) What does it return? A probability of beeing gammoned? -Øystein
[Prev in Thread] | Current Thread | [Next in Thread] |