Conthist #79

Merged
rektdie merged 13 commits from conthist into main 2025-07-20 13:06:45 +02:00
Showing only changes of commit 43c59f29f9 - Show all commits
+2 -1
View File
@@ -406,8 +406,9 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) { if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) {
int lmpBase = 4; int lmpBase = 4;
int lmpMultiplier = 3; int lmpMultiplier = 3;
int lmpThreshold = (lmpBase + lmpMultiplier * (depth - 1) * (depth - 1)); int lmpThreshold = (lmpBase + lmpMultiplier * depth * depth);
if (moveSeen >= lmpThreshold) { if (moveSeen >= lmpThreshold) {
continue; continue;