mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00:00
Simplify opponent movecount reduction
This removes the reduction decrease that occured when the previous ply had a movecount greater than 7. Passed STC: https://tests.stockfishchess.org/tests/view/65c3f6dac865510db0283ef6 LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 11968 W: 3205 L: 2953 D: 5810 Ptnml(0-2): 38, 1310, 3064, 1506, 66 Passed LTC: https://tests.stockfishchess.org/tests/view/65c42377c865510db0284217 LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 35676 W: 9113 L: 8905 D: 17658 Ptnml(0-2): 22, 3893, 9802, 4097, 24 closes https://github.com/official-stockfish/Stockfish/pull/5040 Bench: 1148379
This commit is contained in:
@@ -78,6 +78,7 @@ Fauzi Akram Dabat (fauzi2)
|
|||||||
Felix Wittmann
|
Felix Wittmann
|
||||||
gamander
|
gamander
|
||||||
Gabriele Lombardo (gabe)
|
Gabriele Lombardo (gabe)
|
||||||
|
Gahtan Nahdi
|
||||||
Gary Heckman (gheckman)
|
Gary Heckman (gheckman)
|
||||||
George Sobala (gsobala)
|
George Sobala (gsobala)
|
||||||
gguliash
|
gguliash
|
||||||
|
|||||||
@@ -1108,10 +1108,6 @@ moves_loop: // When in check, search starts here
|
|||||||
if (ss->ttPv)
|
if (ss->ttPv)
|
||||||
r -= 1 + (ttValue > alpha) + (ttValue > beta && tte->depth() >= depth);
|
r -= 1 + (ttValue > alpha) + (ttValue > beta && tte->depth() >= depth);
|
||||||
|
|
||||||
// Decrease reduction if opponent's move count is high (~1 Elo)
|
|
||||||
if ((ss - 1)->moveCount > 7)
|
|
||||||
r--;
|
|
||||||
|
|
||||||
// Increase reduction for cut nodes (~4 Elo)
|
// Increase reduction for cut nodes (~4 Elo)
|
||||||
if (cutNode)
|
if (cutNode)
|
||||||
r += 2 - (tte->depth() >= depth && ss->ttPv);
|
r += 2 - (tte->depth() >= depth && ss->ttPv);
|
||||||
|
|||||||
Reference in New Issue
Block a user