Spsa #177
No files matched your search
+2
-2
@@ -435,7 +435,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
ttAdjustedEval = entry.score;
|
ttAdjustedEval = entry.score;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool corrplexity = std::abs(rawEval - staticEval) > corrplexityThreshold;
|
bool corrplexity = std::abs(rawEval - staticEval) > 70;
|
||||||
|
|
||||||
const bool improving = [&]
|
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;
|
score = -PVS<false, mode>(copy, reduced, -alpha - 1, -alpha, ply + 1, ctx, true).score;
|
||||||
|
|
||||||
if (score > alpha && reduced < newDepth) {
|
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;
|
const bool goShallower = score < results.score + newDepth;
|
||||||
|
|
||||||
newDepth += goDeeper - goShallower;
|
newDepth += goDeeper - goShallower;
|
||||||
|
|||||||
@@ -22,8 +22,6 @@
|
|||||||
X_INT(lmrCorrplexity, 1024, 256, 2048) \
|
X_INT(lmrCorrplexity, 1024, 256, 2048) \
|
||||||
X_INT(lmrTTPVFailLow, 1024, 256, 2048) \
|
X_INT(lmrTTPVFailLow, 1024, 256, 2048) \
|
||||||
X_INT(lmrDeeperBase, 30, 0, 96) \
|
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(rfpBase, 25, 50, 200) \
|
||||||
X_INT(rfpMargin, 100, 50, 200) \
|
X_INT(rfpMargin, 100, 50, 200) \
|
||||||
X_INT(fpMargin, 100, 50, 200) \
|
X_INT(fpMargin, 100, 50, 200) \
|
||||||
|
|||||||
Reference in new issue
Block a user