1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Reduce more CUT nodes only if parent node is reduced

So when we are doing a LMR search at the parent ALL node.

This patch didn't prove stronger at 60" TC
LLR: -2.97 (-2.94,2.94)
Total: 22398 W: 4070 L: 4060 D: 14268

But, first, it scores at 50%, second (and most important for me) the opposite,
i.e. normal reduction when parent node is not reduced, seems very bad:
LLR: -2.95 (-2.94,2.94)
Total: 7036 W: 1446 L: 1534 D: 4056

According to Don, this idea of increased reduction of CUT nodes
works because if parent node is reduced, missing a cut-off due to
reduced depth search (meaning position is somehow tricky) forces
a full depth research at parent node, giving due insight in this
set of sensible positions.

IOW if we expect a node to fail-high at depth n, then we assume it
should fail-high also at depth n-1, if this doesn't happen it means
position is tricky enough to deserve a research at depth n+1.

bench: 4687419
This commit is contained in:
Marco Costalba 2013-06-13 19:53:14 +02:00
parent 4bebb15e94
commit d54e8a5955

View file

@ -949,7 +949,7 @@ split_point_start: // At split points actual search starts from here
{
ss->reduction = reduction<PvNode>(depth, moveCount);
if (!PvNode && cutNode)
if (!PvNode && cutNode && (ss-1)->reduction)
ss->reduction += ONE_PLY;
if (move == countermoves[0] || move == countermoves[1])