projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ae49677
)
Supply the "upperbound" and "lowerbound" parameters in UCI search
author
Tord Romstad
<tord@glaurungchess.com>
Fri, 7 Aug 2009 14:26:24 +0000 (16:26 +0200)
committer
Tord 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
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
15757c3
..
359c99c
100644
(file)
--- 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()