]> git.sesse.net Git - stockfish/commitdiff
Supply the "upperbound" and "lowerbound" parameters in UCI search
authorTord Romstad <tord@glaurungchess.com>
Fri, 7 Aug 2009 14:26:24 +0000 (16:26 +0200)
committerTord Romstad <tord@glaurungchess.com>
Fri, 7 Aug 2009 14:26:24 +0000 (16:26 +0200)
output when the score is outside the root window.

src/search.cpp

index 15757c3a9ae7c025cc02f5c616380cc00976fc29..359c99c66aba1df979d60c47f4436f02db076a58 100644 (file)
@@ -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()