Merge pull request #92 from rektdie/nmp-tweak
tweaked nmp reduction | bench 7750226
This commit was merged in pull request #92.
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -408,7 +408,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
Board copy = board;
|
Board copy = board;
|
||||||
copy.MakeMove(Move());
|
copy.MakeMove(Move());
|
||||||
|
|
||||||
const int reduction = 3 + improving;
|
const int reduction = 4 + improving + depth / 3;
|
||||||
|
|
||||||
ctx->doingNullMove = true;
|
ctx->doingNullMove = true;
|
||||||
int score = -PVS<false, mode>(copy, depth - reduction, -beta, -beta + 1, ply + 1, ctx, !cutnode).score;
|
int score = -PVS<false, mode>(copy, depth - reduction, -beta, -beta + 1, ply + 1, ctx, !cutnode).score;
|
||||||
|
|||||||
Reference in new issue
Block a user