Files
Stockfish/src
Stéphane Nicolet c794c8c801 Simplify the ShelterStrength[] array
Remove the distinction between the king file and the two neighbours
files in the ShelterStrength[] array. Instead we initialize the safety
variable in the evaluate_shelter() function with a -10 penalty if our
king is on a semi-open file (ie. if our king is on a file without a pawn
protection).

Also rename shelter_storm() to evaluate_shelter() while there.

STC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 23153 W: 4795 L: 4677 D: 13681
http://tests.stockfishchess.org/tests/view/5adcb83d0ebc595ec7ff8aa7

LTC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 25728 W: 3934 L: 3821 D: 17973
http://tests.stockfishchess.org/tests/view/5adcdcb60ebc595ec7ff8adb

See the commit history in PR#1559 for the proof that the committed
version is equivalent to the version in the tests above:
https://github.com/official-stockfish/Stockfish/pull/1559

Full credit to @protonspring for the renormalized values of the
ShelterStrength[] array used for the simplification. Thanks!

Bench: 4703935
2018-04-23 09:49:05 +02:00
..
2018-04-18 18:46:24 +02:00
2018-01-01 13:18:10 +01:00
2018-04-01 02:32:55 +02:00
2018-03-27 16:25:41 +02:00
2018-01-01 13:18:10 +01:00
2018-04-18 19:44:41 +02:00
2018-03-30 10:48:57 +02:00
2018-03-03 11:07:23 +01:00
2018-01-01 13:18:10 +01:00
2018-03-16 22:37:03 +01:00
2018-03-27 16:25:41 +02:00
2018-01-01 13:18:10 +01:00
2018-04-23 08:46:32 +02:00
2018-04-23 08:46:32 +02:00
2018-04-23 09:49:05 +02:00
2018-04-23 09:49:05 +02:00
2018-04-18 18:46:24 +02:00
2018-04-18 18:46:24 +02:00
2018-04-18 18:46:24 +02:00
2018-01-01 13:18:10 +01:00
2018-04-18 18:46:24 +02:00
2018-04-18 18:46:24 +02:00
2018-03-27 16:25:41 +02:00
2018-01-01 13:18:10 +01:00
2018-04-03 00:13:38 +02:00
2018-04-23 08:08:27 +02:00