low depth se | bench 1398874 #176

Merged
rektdie merged 1 commits from ldse into main 2026-04-01 01:55:05 +02:00
2 changed files with 6 additions and 4 deletions

No files matched your search

+5 -4
View File
@@ -617,11 +617,9 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
int extension = 0; int extension = 0;
if (ply && ply < ctx->rootDepth * 2 if (ply && ply < ctx->rootDepth * 2 && currMove == entry.bestMove && ctx->excluded == 0) {
&& depth >= 8 if (depth >= 8
&& ttHit && ttHit
&& currMove == entry.bestMove
&& ctx->excluded == 0
&& entry.depth >= depth - 3 && entry.depth >= depth - 3
&& entry.nodeType != AllNode) && entry.nodeType != AllNode)
{ {
@@ -653,6 +651,9 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
} else if (cutnode) { } else if (cutnode) {
extension--; extension--;
} }
} else if (depth <= 7 && !board.InCheck() && staticEval <= alpha - ldseMargin && entry.nodeType == CutNode) {
extension++;
}
} }
cutnode |= extension < 0; cutnode |= extension < 0;
+1
View File
@@ -35,6 +35,7 @@
X_INT(seeQueenValue, 900, 750, 1100) \ X_INT(seeQueenValue, 900, 750, 1100) \
X_INT(seeQsThreshold, 0, -50, 50) \ X_INT(seeQsThreshold, 0, -50, 50) \
X_INT(seeOrderingThreshold, -100, -120, -80) \ X_INT(seeOrderingThreshold, -100, -120, -80) \
X_INT(ldseMargin, 25, -120, -80) \
X_INT(historyBonusMultiplier, 300, 270, 330) \ X_INT(historyBonusMultiplier, 300, 270, 330) \
X_INT(historyBonusSub, 250, 230, 280) X_INT(historyBonusSub, 250, 230, 280)