mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00:00
Print RootMoveList startup scoring
This satisfies a specific user request of 28/8/2009 "The only issue I have is that during multiPV analysis, the depth 1 best move score is not reported by the engine (reporting for the best move begins at depth 2). I need it at depth 1 also. Would it be possible to make this modification in future versions? This would be of great help as otherwise I will have to use a lesser engine. The goal of my project is to calculate the ELO performance in a game and also the ELO rating of individual moves. For this I need depth 1 scores for lower rated performances. I intend to distribute the program for free upon completion. Thanks, Jack Welbourne" Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
fa0bffeafa
commit
2940abdac8
1 changed files with 9 additions and 0 deletions
|
@ -658,6 +658,15 @@ namespace {
|
|||
// searchMoves are verified, copied, scored and sorted
|
||||
RootMoveList rml(p, searchMoves);
|
||||
|
||||
// Print RootMoveList c'tor startup scoring to the standard output,
|
||||
// so that we print information also for iteration 1.
|
||||
std::cout << "info depth " << 1 << "\ninfo depth " << 1
|
||||
<< " score " << value_to_string(rml.get_move_score(0))
|
||||
<< " time " << current_search_time()
|
||||
<< " nodes " << nodes_searched()
|
||||
<< " nps " << nps()
|
||||
<< " pv " << rml.get_move(0) << "\n";
|
||||
|
||||
// Initialize
|
||||
TT.new_search();
|
||||
H.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue