placed pvs see above making move | bench 1326788
This commit is contained in:
1 parent
e33b88277b
commit
20196cb545
1 file changed
+7
-6
+7
-6
@@ -565,6 +565,13 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PVS SEE
|
||||||
|
int SEEThreshold = currMove.IsQuiet() ? seeQuietThreshold * depth : seeNoisyThreshold * depth * depth;
|
||||||
|
|
||||||
|
if (ply && depth <= 10 && !SEE(board, currMove, SEEThreshold))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
|
||||||
if (!board.IsLegal(currMove)) continue;
|
if (!board.IsLegal(currMove)) continue;
|
||||||
Board copy = board;
|
Board copy = board;
|
||||||
copy.MakeMove(currMove);
|
copy.MakeMove(currMove);
|
||||||
@@ -623,12 +630,6 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
|
|
||||||
cutnode |= extension < 0;
|
cutnode |= extension < 0;
|
||||||
|
|
||||||
// PVS SEE
|
|
||||||
int SEEThreshold = currMove.IsQuiet() ? seeQuietThreshold * depth : seeNoisyThreshold * depth * depth;
|
|
||||||
|
|
||||||
if (ply && depth <= 10 && !SEE(board, currMove, SEEThreshold))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
int reductions = GetReductions<isPV>(board, currMove, depth, moveSeen, ply, cutnode, improving, corrplexity, ttpv, ctx);
|
int reductions = GetReductions<isPV>(board, currMove, depth, moveSeen, ply, cutnode, improving, corrplexity, ttpv, ctx);
|
||||||
|
|
||||||
int newDepth = depth + (copy.InCheck() && !ctx->excluded) - 1 + extension;
|
int newDepth = depth + (copy.InCheck() && !ctx->excluded) - 1 + extension;
|
||||||
|
|||||||
Reference in new issue
Block a user