Razoring #130
No files matched your search
@@ -448,6 +448,11 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
return (beta + (staticEval - beta) / 3);
|
||||
}
|
||||
|
||||
// Razoring
|
||||
if (!isPV && depth <= 3 && staticEval + razoringScalar * depth < alpha) {
|
||||
return Quiescence<mode>(board, alpha, beta, ply, ctx).score;
|
||||
}
|
||||
|
||||
// Null Move Pruning
|
||||
if (!ctx->doingNullMove && staticEval >= beta + nmpBetaMargin) {
|
||||
if (depth > 1 && !board.InPossibleZug()) {
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
X_INT(rfpBase, 25, 50, 200) \
|
||||
X_INT(rfpMargin, 100, 50, 200) \
|
||||
X_INT(fpMargin, 100, 50, 200) \
|
||||
X_INT(razoringScalar, 200, 50, 200) \
|
||||
X_INT(doubleExtMargin, 30, 10, 60) \
|
||||
X_INT(seeQuietThreshold, -80, -150, -20) \
|
||||
X_INT(seeNoisyThreshold, -30, -80, 20) \
|
||||
|
||||
Reference in new issue
Block a user