Merge pull request #127 from rektdie/nmp-beta-margin

nmp beta margin | bench 4350979
This commit was merged in pull request #127.
This commit is contained in:
rektdie authored and GitHub committed 2025-11-03 21:26:31 +01:00
commit a56e983bf7
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -449,7 +449,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
}
// Null Move Pruning
if (!ctx->doingNullMove && staticEval >= beta) {
if (!ctx->doingNullMove && staticEval >= beta + nmpBetaMargin) {
if (depth > 1 && !board.InPossibleZug()) {
Board copy = board;
copy.MakeMove(Move());
+1
View File
@@ -22,6 +22,7 @@
X_INT(seeQuietThreshold, -80, -150, -20) \
X_INT(seeNoisyThreshold, -30, -80, 20) \
X_INT(aspInitialDelta, 30, 20, 80) \
X_INT(nmpBetaMargin, 30, 20, 80) \
X_INT(seePawnValue, 100, 80, 120) \
X_INT(seeKnightValue, 300, 250, 350) \
X_INT(seeBishopValue, 350, 300, 400) \