1
0
Fork 0
stockfish/src
Lolligerhans d6d6972a66 Refine rook penalty on closed files
+-----------------+
| . . . . . . . . | All files are closed. Some files are
| . . . . . o o . | more valuable for rooks, because
| . . . . o . . o | they might open in the future.
| . . . o x . . x |
| o . o x . x x . |
| x o x . . . . . | x  our pawns
| . x . . . . . . | o  their pawns
| . . . . . . . . | ^  rooks are scored higher on these files
+-----------------+
            ^ ^

Files containing none of our own pawns are open or half-open (otherwise
they are closed). Rooks on (half-)open files recieve a bonus for the
future potential to act along all ranks.

This commit refines the (relative) penalty of rooks on closed files.
Files that contain one of our blocked pawns are considered less likely
to open in the future; rooks on these files are now penalized stronger.

This bonus does not generally correlate with mobility. If the condition
is sufficiently refined in the future, it may be beneficial to adjust or
override mobility scores in some cases.

LTC
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 494384 W: 71565 L: 70231 D: 352588
Ptnml(0-2): 3907, 48050, 142118, 49036, 4081
https://tests.stockfishchess.org/tests/view/5fb9312e67cbf42301d6afb9

LTC (non-regression w/ book noob_3moves.epd)
LLR: 2.95 (-2.94,2.94) {-0.75,0.25}
Total: 208520 W: 27044 L: 26937 D: 154539
Ptnml(0-2): 1557, 19850, 61391, 19853, 1609
https://tests.stockfishchess.org/tests/view/5fc01ced67cbf42301d6b3df

STC
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 98392 W: 20269 L: 19868 D: 58255
Ptnml(0-2): 1804, 11297, 22589, 11706, 1800
https://tests.stockfishchess.org/tests/view/5fb7f88a67cbf42301d6af10

closes https://github.com/official-stockfish/Stockfish/pull/3242

Bench: 3682630
2020-11-29 16:38:03 +01:00
..
incbin Embed default net, and simplify using non-default nets 2020-08-29 21:56:00 +02:00
nnue Cleaned up MakeIndex() 2020-11-29 16:36:49 +01:00
syzygy Only use MADV_RANDOM if defined 2020-09-02 07:32:10 +02:00
Makefile Add net as dependency of config 2020-10-22 20:18:12 +02:00
benchmark.cpp Always re-enable NNUE after "bench". 2020-09-08 22:53:50 +02:00
bitbase.cpp Add NNUE evaluation 2020-08-06 16:37:45 +02:00
bitboard.cpp Small trivial cleanups 2020-08-23 01:53:41 +02:00
bitboard.h Small trivial cleanups 2020-08-23 01:53:41 +02:00
endgame.cpp Add NNUE evaluation 2020-08-06 16:37:45 +02:00
endgame.h Add NNUE evaluation 2020-08-06 16:37:45 +02:00
evaluate.cpp Refine rook penalty on closed files 2020-11-29 16:38:03 +01:00
evaluate.h Update default net to nn-c3ca321c51c9.nnue 2020-11-08 08:36:16 +01:00
main.cpp Small cleanups 12 2020-09-21 10:41:10 +02:00
material.cpp Small trivial cleanups 2020-08-23 01:53:41 +02:00
material.h Add NNUE evaluation 2020-08-06 16:37:45 +02:00
misc.cpp Small cleanups 13 2020-11-23 22:20:32 +01:00
misc.h Manually align arrays on the stack 2020-11-04 19:52:42 +01:00
movegen.cpp Small trivial cleanups 2020-08-23 01:53:41 +02:00
movegen.h Add NNUE evaluation 2020-08-06 16:37:45 +02:00
movepick.cpp Do not skip non-recapture ttMove when in check 2020-10-28 23:40:37 +01:00
movepick.h Introduce movecount pruning for qsearch() 2020-08-23 23:27:03 +02:00
pawns.cpp Small cleanups 13 2020-11-23 22:20:32 +01:00
pawns.h Add NNUE evaluation 2020-08-06 16:37:45 +02:00
position.cpp Manually align arrays on the stack 2020-11-04 19:52:42 +01:00
position.h Remove EvalList 2020-08-26 07:11:26 +02:00
psqt.cpp Add NNUE evaluation 2020-08-06 16:37:45 +02:00
search.cpp Assorted search and eval parameter tune 2020-11-25 21:05:08 +01:00
search.h Small cleanups 12 2020-09-21 10:41:10 +02:00
thread.cpp Small cleanups 12 2020-09-21 10:41:10 +02:00
thread.h Do more reductions for late quiet moves in case of consecutive fail highs. 2020-10-18 13:54:28 +02:00
thread_win32_osx.h Explicitly rely on pthreads if possible 2020-08-22 11:00:45 +02:00
timeman.cpp Reduce big time spikes by reducing PV re-searches. 2020-10-22 20:08:15 +02:00
timeman.h Add NNUE evaluation 2020-08-06 16:37:45 +02:00
tt.cpp Add large page support for NNUE weights and simplify TT mem management 2020-09-21 08:43:48 +02:00
tt.h Add large page support for NNUE weights and simplify TT mem management 2020-09-21 08:43:48 +02:00
tune.cpp Add NNUE evaluation 2020-08-06 16:37:45 +02:00
tune.h Add NNUE evaluation 2020-08-06 16:37:45 +02:00
types.h Small cleanups 13 2020-11-23 22:20:32 +01:00
uci.cpp Small cleanups 12 2020-09-21 10:41:10 +02:00
uci.h Add NNUE evaluation 2020-08-06 16:37:45 +02:00
ucioption.cpp Small cleanups 12 2020-09-21 10:41:10 +02:00