Skip to content

Commit 34321fc

Browse files
committed
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 #1657 Bench: 4721753
1 parent 062eb07 commit 34321fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/evaluate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,9 +770,9 @@ namespace {
770770
&& (pos.pieces(PAWN) & KingSide);
771771

772772
// Compute the initiative bonus for the attacking side
773-
int complexity = 8 * outflanking
774-
+ 8 * pe->pawn_asymmetry()
773+
int complexity = 8 * pe->pawn_asymmetry()
775774
+ 12 * pos.count<PAWN>()
775+
+ 12 * outflanking
776776
+ 16 * pawnsOnBothFlanks
777777
+ 48 * !pos.non_pawn_material()
778778
-136 ;

0 commit comments

Comments
 (0)