mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Simplify condition for ProbCut move count pruning
We retire depth-dependence in ProbCut move count pruning, the move count limit condition is now : "probCutCount < 3" STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 33895 W: 6995 L: 6897 D: 20003 http://tests.stockfishchess.org/tests/view/5aa6eaba0ebc59029781009d LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 28959 W: 4441 L: 4333 D: 20185 http://tests.stockfishchess.org/tests/view/5aa73dfa0ebc5902978100be Ideas for future work: • Is a flat move count limit in ProbCut ideal? Depth dependence, or dependence on some other variable, could possibly be reintroduced. • The move count limit 3 is untuned and a better value may exist. Closes https://github.com/official-stockfish/Stockfish/pull/1486 Bench: 5741807
This commit is contained in:
parent
c5f6bd517c
commit
b605103a34
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ namespace {
|
||||||
int probCutCount = 0;
|
int probCutCount = 0;
|
||||||
|
|
||||||
while ( (move = mp.next_move()) != MOVE_NONE
|
while ( (move = mp.next_move()) != MOVE_NONE
|
||||||
&& probCutCount < depth / ONE_PLY - 3)
|
&& probCutCount < 3)
|
||||||
if (pos.legal(move))
|
if (pos.legal(move))
|
||||||
{
|
{
|
||||||
probCutCount++;
|
probCutCount++;
|
||||||
|
|
Loading…
Add table
Reference in a new issue