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

Score chain pawn also by rank

Use the (rescaled) CandidatePassed[] table
that is already rank based.

Passed both short TC
LLR: 2.95 (-2.94,2.94) [-1.50,4.50]
Total: 11048 W: 2272 L: 2135 D: 6641

And long TC
LLR: 2.97 (-2.94,2.94) [0.00,6.00]
Total: 4116 W: 769 L: 645 D: 2702

bench: 8440524
This commit is contained in:
Jörg Oster 2013-10-18 10:23:28 +02:00 committed by Marco Costalba
parent 3cddb0c076
commit 25cb851f8a

View file

@ -176,7 +176,7 @@ namespace {
value -= Backward[opposed][f];
if (chain)
value += ChainMember[f];
value += ChainMember[f] + CandidatePassed[relative_rank(Us, s)] / 2;
if (candidate)
{