Skip to content

Commit e7dbe69

Browse files
authored
Adjust LMR Reduction With History (#113)
Elo | 5.39 +- 3.86 (95%) SPRT | 8.0+0.08s Threads=1 Hash=8MB LLR | 2.95 (-2.94, 2.94) [0.00, 5.00] Games | N: 10574 W: 2726 L: 2562 D: 5286 Penta | [115, 1235, 2447, 1351, 139] https://chess.aronpetkovski.com/test/2788/ bench 1941693
1 parent 39c4390 commit e7dbe69

File tree

1 file changed

+4
-0
lines changed
  • Serendipity/src/main/java/org/shawn/games/Serendipity/Search

1 file changed

+4
-0
lines changed

Serendipity/src/main/java/org/shawn/games/Serendipity/Search/AlphaBeta.java

+4
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,10 @@ else if (givesCheck)
577577
r -= isPV ? 1 : 0;
578578
r -= givesCheck ? 1 : 0;
579579
r += cutNode ? 1 : 0;
580+
581+
final int history = threadData.history.get(board, move) + 4500;
582+
583+
r -= history / 5000;
580584

581585
int d = newdepth - r;
582586
d = Math.min(newdepth, newdepth - r);

0 commit comments

Comments
 (0)