From: Fabian Fichter Date: Fri, 15 Mar 2019 13:07:56 +0000 (+0100) Subject: Tweak extinction bonus X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=92943f282930775c14c86d127642b2f82dcf4415;p=fairystockfish.git Tweak extinction bonus kinglet STC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 854 W: 438 L: 332 D: 84 http://35.161.250.236:6543/tests/view/5c89565a6e23db76ed2525eb kinglet LTC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 707 W: 360 L: 259 D: 88 http://35.161.250.236:6543/tests/view/5c8a07376e23db76ed2525f0 extinction STC LLR: 2.98 (-2.94,2.94) [-10.00,5.00] Total: 5185 W: 2409 L: 2382 D: 394 http://35.161.250.236:6543/tests/view/5c89566e6e23db76ed2525ee --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 25a83fe..2997df3 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -921,7 +921,7 @@ namespace { { for (PieceType pt : pos.extinction_piece_types()) if (pt != ALL_PIECES) - score += make_score(1000, 1000) / pos.count(Us, pt) * (pos.extinction_value() / VALUE_MATE); + score += make_score(1100, 1100) / pos.count(Us, pt) * (pos.extinction_value() / VALUE_MATE); else if (pos.extinction_value() == VALUE_MATE && !pos.count(Us)) score += make_score(5000, pos.non_pawn_material(Us)) / pos.count(Us); }