From fb54c707add7eba14f60dee64acc79c15f6439f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Nicolet?= Date: Fri, 22 Jun 2018 01:28:02 +0200 Subject: [PATCH] Increase outflanking weight to 12 Give more incentive to king activity in the endgame by increasing the weight of the "outflanking" variable from 8 to 12 in the function evaluate_initiative(). Finished yellow after 133102 games at STC: LLR: -3.07 (-2.94,2.94) [0.00,4.00] Total: 133102 W: 29535 L: 29179 D: 74388 http://tests.stockfishchess.org/tests/view/5b2b63fe0ebc5902b2e54475 Passed LTC: LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 28027 W: 4918 L: 4672 D: 18437 http://tests.stockfishchess.org/tests/view/5b2ba39e0ebc5902b2e54a64 Closes https://github.com/official-stockfish/Stockfish/pull/1657 Bench: 4721753 --- src/evaluate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 26fd20bba5d..3f18d587ac6 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -770,9 +770,9 @@ namespace { && (pos.pieces(PAWN) & KingSide); // Compute the initiative bonus for the attacking side - int complexity = 8 * outflanking - + 8 * pe->pawn_asymmetry() + int complexity = 8 * pe->pawn_asymmetry() + 12 * pos.count() + + 12 * outflanking + 16 * pawnsOnBothFlanks + 48 * !pos.non_pawn_material() -136 ;