|
BGonline.org Forums
GnuBg settings to mimic XGR++
Posted By: Taper_Mike In Response To: GnuBg settings to mimic XGR++ (Daniel Murphy)
Date: Tuesday, 31 July 2012, at 10:58 a.m.
Mike, my understanding is that when setting the Gnubg truncation depth for a truncated rollout of a checker play, the first checker play is ply "1" -- and that plus the following 6 makes 7 "ply" in all. If this were true, then a rollout that was truncated after 1 ply should be the same as a 0-ply eval. Correct? And if all we have is a 0-ply eval, then the number of trials should not matter. Each trial repeats exactly the 0-ply eval you had the first time. Also correct?
You can evaluate a position with 0-ply, but you can't run a Gnubg truncated rollout with ply "0." Try it: Open the Rollouts / Settings window, check the "Truncate Rollouts" checkbox and set "Truncate at ply" to "0." Close the window and reopen it. Your check box will be unchecked, and the "truncate at ply" will be greyed out.
Exactly as you say!
In other words, Gnubg doesn't count "ply" the same way for truncation depth and for evaluation/analysis depth. Or so it seems.
Just to make sure, I set the checker/cube Play Settings for rollouts to expert (0-ply). Then I did the same for Players and Analysis. But in the position I tested, 21$-62Z-31, the rollouts match, to 6 decimal places, the results of a 1-ply eval, rather than that of a 0-ply.
Mike
0-Ply Eval
The score (after 0 games) is: gnubg 0, human 0
Move number 3: human to play 31
gnubg 159
human 164 Position ID: 4OvgASTQc+QBMA Match ID: cIkFAAAAAAAA human moves 13/10 6/5
# Ply Move Equity 1 0 6/5 6/3* +0.190948 0.553796 0.175009 0.009557 - 0.446204 0.138067 0.008357 2 0 13/10 6/5 +0.174744 ( -0.016204) 0.548210 0.164426 0.006670 - 0.451790 0.127208 0.005709 3 0 24/21 6/5 +0.171247 ( -0.019701) 0.550290 0.153227 0.006475 - 0.449710 0.128475 0.003573
1-Ply Eval
The score (after 0 games) is: gnubg 0, human 0
Move number 3: human to play 31
gnubg 159
human 164 Position ID: 4OvgASTQc+QBMA Match ID: cIkFAAAAAAAA human moves 13/10 6/5
# Ply Move Equity 1 1 13/10 6/5 +0.158369 0.543678 0.165059 0.007086 - 0.456322 0.130242 0.007259 2 1 6/5 6/3* +0.143099 ( -0.015270) 0.537250 0.164912 0.008702 - 0.462750 0.140918 0.008605 3 1 24/21 6/5 +0.122751 ( -0.035618) 0.536646 0.147147 0.005551 - 0.463354 0.130115 0.004677
Rollout Truncated after 1 Ply (1 trial)
The score (after 0 games) is: gnubg 0, human 0
Move number 3: human to play 31
gnubg 159
human 164 Position ID: 4OvgASTQc+QBMA Match ID: cIkFAAAAAAAA human moves 13/10 6/5
# Ply Move Equity 1 R 13/10 6/5 +0.158369
0.543678 0.165059 0.007086 - 0.456322 0.130242 0.007259 +0.122001 +0.158369 0.000000 0.000000 0.000000 - 0.000000 0.000000 0.000000 0.000000 0.000000 Truncated cubeful rollout (depth 1) with var.redn. 1 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: 0-ply cubeful [expert] Cube: 0-ply cubeful [expert] 2 R 6/5 6/3* +0.143099 ( -0.015270)
0.537250 0.164912 0.008702 - 0.462750 0.140918 0.008605 +0.098592 +0.143099 0.000000 0.000000 0.000000 - 0.000000 0.000000 0.000000 0.000000 0.000000 Truncated cubeful rollout (depth 1) with var.redn. 1 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: 0-ply cubeful [expert] Cube: 0-ply cubeful [expert] 3 R 24/21 6/5 +0.122751 ( -0.035618)
0.536646 0.147147 0.005551 - 0.463354 0.130115 0.004677 +0.091196 +0.122751 0.000000 0.000000 0.000000 - 0.000000 0.000000 0.000000 0.000000 0.000000 Truncated cubeful rollout (depth 1) with var.redn. 1 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: 0-ply cubeful [expert] Cube: 0-ply cubeful [expert]
Rollout Truncated after 1 Ply (360 trials)
The score (after 0 games) is: gnubg 0, human 0
Move number 3: human to play 31
gnubg 159
human 164 Position ID: 4OvgASTQc+QBMA Match ID: cIkFAAAAAAAA human moves 13/10 6/5
# Ply Move Equity 1 R 13/10 6/5 +0.158369
0.543678 0.165059 0.007086 - 0.456322 0.130242 0.007259 +0.122001 +0.158369 0.000000 0.000000 0.000000 - 0.000000 0.000000 0.000000 0.000000 0.000000 Truncated cubeful rollout (depth 1) with var.redn. 360 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: 0-ply cubeful [expert] Cube: 0-ply cubeful [expert] 2 R 6/5 6/3* +0.143099 ( -0.015270)
0.537250 0.164912 0.008702 - 0.462750 0.140918 0.008605 +0.098592 +0.143099 0.000000 0.000000 0.000000 - 0.000000 0.000000 0.000000 0.000000 0.000000 Truncated cubeful rollout (depth 1) with var.redn. 360 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: 0-ply cubeful [expert] Cube: 0-ply cubeful [expert] 3 R 24/21 6/5 +0.122751 ( -0.035618)
0.536646 0.147147 0.005551 - 0.463354 0.130115 0.004677 +0.091196 +0.122751 0.000000 0.000000 0.000000 - 0.000000 0.000000 0.000000 0.000000 0.000000 Truncated cubeful rollout (depth 1) with var.redn. 360 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: 0-ply cubeful [expert] Cube: 0-ply cubeful [expert]
|
BGonline.org Forums is maintained by Stick with WebBBS 5.12.