1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/src
Eelco de Groot 5ee16a180a Increase pruning if evaluation is not improving
Add an additional set of margins to movecount pruning
to be used when static evaluation is getting worse
than previous move.

Here are the margins table with changing
depth (fm0 not improving, fm1 improving):

    d: 0, fm0: 3, fm1: 3
    d: 1, fm0: 4, fm1: 4
    d: 2, fm0: 6, fm1: 6
    d: 3, fm0: 7, fm1: 10
    d: 4, fm0: 11, fm1: 15
    d: 5, fm0: 15, fm1: 21
    d: 6, fm0: 21, fm1: 29
    d: 7, fm0: 27, fm1: 37
    d: 8, fm0: 35, fm1: 47
    d: 9, fm0: 42, fm1: 57
    d: 10, fm0: 51, fm1: 68
    d: 11, fm0: 60, fm1: 81
    d: 12, fm0: 70, fm1: 94
    d: 13, fm0: 81, fm1: 108
    d: 14, fm0: 92, fm1: 123
    d: 15, fm0: 104, fm1: 139

Good at both short TC

LLR: 2.97 (-2.94,2.94)
Total: 11502 W: 2503 L: 2361 D: 6638

And long TC

LLR: 2.98 (-2.94,2.94)
Total: 7189 W: 1421 L: 1277 D: 4491

bench: 4364793
2013-07-29 01:21:21 +02:00
..
benchmark.cpp Revert "Store moves sent with "position" UCI command" 2013-03-04 09:29:46 +01:00
bitbase.cpp Fully qualify memset and memcpy 2013-07-13 18:01:13 +02:00
bitboard.cpp Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
bitboard.h Fix a typo in bitboard.h 2013-07-25 07:44:27 +02:00
bitcount.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
book.cpp Microptimize MoveList loop 2013-05-19 22:00:49 +02:00
book.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
endgame.cpp Fix an assert in KBK endgame 2013-07-27 08:25:45 +02:00
endgame.h Fix an assert in KBK endgame 2013-07-27 08:25:45 +02:00
evaluate.cpp Revert "Halve king eval margin" 2013-07-24 07:46:25 +02:00
evaluate.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
main.cpp Zobrist::init() should be Position::init() 2013-06-09 13:54:38 +02:00
Makefile Revert "Yet another attempt at signature-build" 2013-07-20 15:15:31 +02:00
material.cpp Small simplification in space eval scoring 2013-07-19 11:13:18 +02:00
material.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
misc.cpp Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
misc.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
movegen.cpp Use arrow operator instead of * and . 2013-07-22 20:22:40 +02:00
movegen.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
movepick.cpp Simplify captures ordering 2013-07-24 07:53:32 +02:00
movepick.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
notation.cpp Microptimize MoveList loop 2013-05-19 22:00:49 +02:00
notation.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
pawns.cpp Rewrite pawn shield and storm code 2013-07-26 00:12:46 +02:00
pawns.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
platform.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
position.cpp Annotate an unlikely condition 2013-07-27 11:34:15 +02:00
position.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
psqtab.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
rkiss.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
search.cpp Increase pruning if evaluation is not improving 2013-07-29 01:21:21 +02:00
search.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
thread.cpp Introduce Cut/All node definitions 2013-06-13 19:46:49 +02:00
thread.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
timeman.cpp Be more aggressive on trying to finish iterations 2013-03-11 19:07:55 +01:00
timeman.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
tt.cpp Fully qualify memset and memcpy 2013-07-13 18:01:13 +02:00
tt.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00
types.h Increase pruning if evaluation is not improving 2013-07-29 01:21:21 +02:00
uci.cpp Name functions along corresponding UCI commands 2013-06-22 12:46:03 +02:00
ucioption.cpp Rename some UCI options 2013-07-11 16:07:10 +02:00
ucioption.h Use #ifndef instead of #if !defined 2013-07-24 19:49:17 +02:00