1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00
BadFish/src
syzygy e18e557e77 Output PV if last iteration does not complete
Instead of outputting "info nodes ... time ..." when the last
iteration is interrupted, simply call UCI::pv() to output the PV.

I thought about calling UCI:pv() with bounds -VALUE_INFINITE, VALUE_INFINITE
to avoid "lowerbound" or "upperbound" appearing in it, but I'm not sure that
would be any better.

This patch fixes rare inconsistencies between the first move of
the last PV output and the bestmove played. It also makes sure
that all the latest statistics are sent to the GUI (not only nodes
and time but also nps, tbhits, hashfull).

No functional change.
2016-10-27 06:26:22 +02:00
..
syzygy Change from [Color][PieceType] to [Piece] 2016-09-04 09:22:09 +02:00
benchmark.cpp Fix crash when passing a mate/stalemate position 2016-09-24 07:37:52 +02:00
bitbase.cpp Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
bitboard.cpp Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
bitboard.h Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
endgame.cpp Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
endgame.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
evaluate.cpp Endgame malus for having a king in a pawnless flank 2016-10-25 06:57:29 +02:00
evaluate.h Retire KingDanger array 2016-09-16 08:30:06 +02:00
main.cpp Fix indentation in struct FromToStats 2016-09-17 09:51:20 +02:00
Makefile Fixes for ARM compilation: take 2 2016-10-14 08:58:07 +02:00
material.cpp Retire linear imbalance 2016-09-02 08:25:17 +02:00
material.h Avoid some redundant scaling function calls 2016-06-10 06:43:37 +02:00
misc.cpp Do not hardcode Debug Log File 2016-06-15 08:47:08 +02:00
misc.h Do not hardcode Debug Log File 2016-06-15 08:47:08 +02:00
movegen.cpp Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
movegen.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
movepick.cpp Simplify next_move by always scoring evasions 2016-10-20 17:17:14 +02:00
movepick.h Fix indentation in struct FromToStats 2016-09-17 09:51:20 +02:00
pawns.cpp Retire implicit malus for stonewalls 2016-10-05 09:32:08 +02:00
pawns.h Space bonus in presence of open files 2016-09-03 00:04:20 +02:00
position.cpp Optimisation of Position::see and Position::see_sign 2016-10-08 06:38:36 +02:00
position.h Per-thread TB hit counters 2016-10-21 06:15:45 +02:00
psqt.cpp Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
search.cpp Output PV if last iteration does not complete 2016-10-27 06:26:22 +02:00
search.h History Stat Comparison 2016-10-25 06:44:19 +02:00
thread.cpp Correcty resey TB hit counter 2016-10-22 08:22:13 +02:00
thread.h Correcty resey TB hit counter 2016-10-22 08:22:13 +02:00
thread_win32.h Assorted English grammar changes 2016-01-16 21:34:29 +00:00
timeman.cpp Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
timeman.h Time management simplification 2016-01-29 00:47:07 +00:00
tt.cpp Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
tt.h Silence some warnings with MSVC 2013 2016-08-27 12:16:13 +02:00
types.h Rename shift_bb() to shift() 2016-09-25 10:45:10 +02:00
uci.cpp Move CheckInfo under StateInfo 2016-08-27 09:53:26 +02:00
uci.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
ucioption.cpp Do not hardcode Debug Log File 2016-06-15 08:47:08 +02:00