1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00
BadFish/src
Tord Romstad da854fe83a Added a new function build_pv(), which extends a PV by walking
down the transposition table.

When the search was stopped before a fail high at the root was
resolved, Stockfish would often print a very short PV, sometimes
consisting of just a single move. This was not only a little
user-unfriendly, but also harmed the strength a little in
ponder-on games: Single-move PVs mean that there is no ponder
move to search.

It is perhaps worth considering to remove the pv[][] array
entirely, and always build the entire PV from the transposition
table. This would simplify the source code somewhat and probably
make the program infinitesimally faster, at the expense of
sometimes getting shorter PVs or PVs with rubbish moves near
the end.
2009-08-06 13:27:49 +02:00
..
application.cpp Remove unused members in Application class 2009-07-26 16:11:20 +01:00
application.h Remove unused members in Application class 2009-07-26 16:11:20 +01:00
benchmark.cpp Add support for saving timing file during benchmark 2009-07-04 10:32:51 +01:00
benchmark.h Update copyright year 2009-05-07 14:54:40 +02:00
bitbase.cpp Update copyright year 2009-05-07 14:54:40 +02:00
bitbase.h Update copyright year 2009-05-07 14:54:40 +02:00
bitboard.cpp Simplify king shelter cache handling 2009-07-24 14:13:13 +01:00
bitboard.h Simplify king shelter cache handling 2009-07-24 14:13:13 +01:00
bitcount.h Fix bitcount.h compile warnings under Intel compiler 2009-07-04 18:10:39 +01:00
book.cpp Update copyright year 2009-05-07 14:54:40 +02:00
book.h Update copyright year 2009-05-07 14:54:40 +02:00
color.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
COPYING Initial import of Glaurung 2.1 2008-09-01 07:59:13 +02:00
depth.h Directly relate HistoryMax to OnePly 2009-05-20 14:43:17 +02:00
direction.cpp Space inflate and cleanup direction.cpp 2009-05-20 12:02:39 +02:00
direction.h Update copyright year 2009-05-07 14:54:40 +02:00
endgame.cpp Simplify endgame functions handling 2009-07-17 07:55:51 +01:00
endgame.h Remove even more redundancy in endgame functions handling 2009-07-17 16:05:19 +01:00
evaluate.cpp Simplify king shelter cache handling 2009-07-24 14:13:13 +01:00
evaluate.h Small code style in headers 2009-05-20 15:11:41 +02:00
history.cpp Reduce history 4 times instead of 2 when reach the maximum 2009-05-20 09:03:15 +02:00
history.h Directly relate HistoryMax to OnePly 2009-05-20 14:43:17 +02:00
lock.h Small code style in headers 2009-05-20 15:11:41 +02:00
main.cpp Add support for saving timing file during benchmark 2009-07-04 10:32:51 +01:00
Makefile Revert Makefile changes 2009-07-24 14:18:03 +01:00
material.cpp Yet another small touch to endgame functions handling 2009-07-26 17:42:48 +01:00
material.h Add Tord's polynomial material balance 2009-07-23 00:03:30 +01:00
mersenne.cpp Warnings termination fest 2008-09-24 00:32:53 +02:00
mersenne.h Update copyright year 2009-05-07 14:54:40 +02:00
misc.cpp Restore development versioning and LSN filtering 2009-07-06 11:20:05 +01:00
misc.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
move.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
move.h Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
movegen.cpp Introduce SERIALIZE_MOVES_D() macro and use it for pawn moves 2009-07-14 10:28:41 +01:00
movegen.h Update copyright year 2009-05-07 14:54:40 +02:00
movepick.cpp Fix a spurious extra space 2009-07-26 09:07:42 +01:00
movepick.h Delay costly SEE call during captures ordering in MovePicker 2009-07-24 14:12:33 +01:00
pawns.cpp Simplify king shelter cache handling 2009-07-24 14:13:13 +01:00
pawns.h Simplify king shelter cache handling 2009-07-24 14:13:13 +01:00
piece.cpp Update copyright year 2009-05-07 14:54:40 +02:00
piece.h Update copyright year 2009-05-07 14:54:40 +02:00
position.cpp Use do_move_bb() helpers when doing a castle 2009-07-23 10:43:58 +01:00
position.h Introduce see_sign() and use it to shortcut full see() 2009-07-12 08:37:43 +01:00
psqtab.h Joona tweaks of piece values 2009-07-02 06:29:14 +01:00
san.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
san.h Update copyright year 2009-05-07 14:54:40 +02:00
scale.h Update copyright year 2009-05-07 14:54:40 +02:00
search.cpp Added a new function build_pv(), which extends a PV by walking 2009-08-06 13:27:49 +02:00
search.h Remove global variables from search.h 2009-06-12 13:10:40 +02:00
square.h Update copyright year 2009-05-07 14:54:40 +02:00
thread.h Revert per-thread history tables 2009-07-02 06:29:25 +01:00
tt.cpp Update copyright year 2009-05-07 14:54:40 +02:00
tt.h Reduce SMP contention on TT 2009-06-13 11:13:09 +01:00
types.h Rename int32 in int32_t 2009-07-20 10:53:41 +01:00
uci.cpp Small tidy up of previous patch 2009-07-10 18:50:43 +01:00
uci.h Update copyright year 2009-05-07 14:54:40 +02:00
ucioption.cpp Initial work towards adjustable playing strength. 2009-08-04 11:31:25 +02:00
ucioption.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
value.cpp Update copyright year 2009-05-07 14:54:40 +02:00
value.h Revert last tweaks 2009-07-09 16:45:39 +01:00