added a base to rfp | bench 6836864 #105

Merged
rektdie merged 1 commits from rfp-base into main 2025-09-11 14:52:09 +02:00
2 changed files with 2 additions and 1 deletions

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) \