Spsa #177

Merged
rektdie merged 8 commits from spsa into main 2026-04-04 00:12:51 +02:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit de6b96bbf8 - Show all commits

No files matched your search

+2 -2
View File
@@ -435,7 +435,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
ttAdjustedEval = entry.score;
}
bool corrplexity = std::abs(rawEval - staticEval) > corrplexityThreshold;
bool corrplexity = std::abs(rawEval - staticEval) > 70;
const bool improving = [&]
{
@@ -685,7 +685,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
score = -PVS<false, mode>(copy, reduced, -alpha - 1, -alpha, ply + 1, ctx, true).score;
if (score > alpha && reduced < newDepth) {
const bool goDeeper = score > results.score + lmrDeeperBase + lmrDeeperScalar * newDepth;
const bool goDeeper = score > results.score + lmrDeeperBase + 4 * newDepth;
const bool goShallower = score < results.score + newDepth;
newDepth += goDeeper - goShallower;
-2
View File
@@ -22,8 +22,6 @@
X_INT(lmrCorrplexity, 1024, 256, 2048) \
X_INT(lmrTTPVFailLow, 1024, 256, 2048) \
X_INT(lmrDeeperBase, 30, 0, 96) \
X_INT(lmrDeeperScalar, 4, 0, 16) \
X_INT(corrplexityThreshold, 70, 32, 128) \
X_INT(rfpBase, 25, 50, 200) \
X_INT(rfpMargin, 100, 50, 200) \
X_INT(fpMargin, 100, 50, 200) \