Merge pull request #105 from rektdie/rfp-base

added a base to rfp | bench 6836864
This commit was merged in pull request #105.
This commit is contained in:
rektdie authored and GitHub committed 2025-09-11 14:52:09 +02:00
commit 32b2b9c92e
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -413,7 +413,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
if (!board.InCheck() && !ctx->excluded) {
if (ply) {
// Reverse Futility Pruning
int margin = rfpMargin * (depth - improving);
int margin = rfpBase + rfpMargin * (depth - improving);
if (!ttHit && staticEval - margin >= beta && depth < 7) {
return (beta + (staticEval - beta) / 3);
}
+1
View File
@@ -12,6 +12,7 @@
X_INT(lmrIsPV, 1024, 512, 2048) \
X_INT(lmrHistoryDivisor, 8192, 6000, 10000) \
X_INT(lmrImproving, 1024, 6000, 10000) \
X_INT(rfpBase, 25, 50, 200) \
X_INT(rfpMargin, 100, 50, 200) \
X_INT(fpMargin, 100, 50, 200) \
X_INT(doubleExtMargin, 30, 10, 60) \