From: Tord Romstad Date: Fri, 7 Aug 2009 14:26:24 +0000 (+0200) Subject: Supply the "upperbound" and "lowerbound" parameters in UCI search X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=977ca40d6d20f4c56d6ed4afe76ecf91da38e001;hp=ae4967744686ae6e95ca0cdb9e0d788de05d4e03 Supply the "upperbound" and "lowerbound" parameters in UCI search output when the score is outside the root window. --- diff --git a/src/search.cpp b/src/search.cpp index 15757c3a..359c99c6 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -989,6 +989,8 @@ namespace { // Print search information to the standard output std::cout << "info depth " << Iteration << " score " << value_to_string(value) + << ((value >= beta)? + " lowerbound" : ((value <= alpha)? " upperbound" : "")) << " time " << current_search_time() << " nodes " << nodes_searched() << " nps " << nps()