Display fail high/fail low in search log file.

This commit is contained in:
Tord Romstad
2009-10-06 12:51:15 +02:00
parent fd2b3df770
commit 18cd83a380
3 changed files with 8 additions and 4 deletions

View File

@@ -971,7 +971,10 @@ namespace {
std::cout << std::endl;
if (UseLogFile)
LogFile << pretty_pv(pos, current_search_time(), Iteration, nodes_searched(), value, ss[0].pv)
LogFile << pretty_pv(pos, current_search_time(), Iteration, nodes_searched(), value,
((value >= beta)? VALUE_TYPE_LOWER
: ((value <= alpha)? VALUE_TYPE_UPPER : VALUE_TYPE_EXACT)),
ss[0].pv)
<< std::endl;
if (value > alpha)