1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 09:13:08 +00:00

More aggressive dynamic LMR

Previous setup didn't change anything

After 996 games 1+0: +267 -261 =468 +2 ELO

Now with this new setup we have

After 999 games 1+0: +277 -245 =477 +11 ELO

Seems reasonable...

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2009-03-23 11:58:28 +01:00
parent 24b7ad54c7
commit 4d70e3aeac

View file

@ -1333,7 +1333,7 @@ namespace {
&& !move_is_killer(move, ss[ply])) && !move_is_killer(move, ss[ply]))
{ {
// LMR dynamic reduction // LMR dynamic reduction
Depth R = (moveCount >= 3 * LMRNonPVMoves && depth >= 7*OnePly ? 2*OnePly : OnePly); Depth R = (moveCount >= 2 * LMRNonPVMoves && depth > 7*OnePly ? 2*OnePly : OnePly);
ss[ply].reduction = R; ss[ply].reduction = R;
value = -search(pos, ss, -(beta-1), newDepth-R, ply+1, true, threadID); value = -search(pos, ss, -(beta-1), newDepth-R, ply+1, true, threadID);