mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Cleaned up source code.
This commit is contained in:
+8
-4
@@ -992,7 +992,11 @@ moves_loop: // When in check, search starts from here
|
||||
|
||||
ss->moveCount = ++moveCount;
|
||||
|
||||
if (rootNode && thisThread == Threads.main() && Time.elapsed() > 3000 && !Limits.silent)
|
||||
if (rootNode && thisThread == Threads.main() && Time.elapsed() > 3000
|
||||
#if defined(EVAL_LEARN)
|
||||
&& !Limits.silent
|
||||
#endif
|
||||
)
|
||||
sync_cout << "info depth " << depth
|
||||
<< " currmove " << UCI::move(move, pos.is_chess960())
|
||||
<< " currmovenumber " << moveCount + thisThread->pvIdx << sync_endl;
|
||||
@@ -2066,10 +2070,10 @@ namespace Learner
|
||||
// Increase the generation of the substitution table for this thread because it is a new search.
|
||||
//TT.new_search(th->thread_id());
|
||||
|
||||
// ↑ If you call new_search here, it may be a loss because you can't use the previous search result.
|
||||
// �ª If you call new_search here, it may be a loss because you can't use the previous search result.
|
||||
// Do not do this here, but caller should do TT.new_search(th->thread_id()) for each station ...
|
||||
|
||||
// →Because we want to avoid reaching the same final diagram, use the substitution table commonly for all threads when generating teachers.
|
||||
// �¨Because we want to avoid reaching the same final diagram, use the substitution table commonly for all threads when generating teachers.
|
||||
//#endif
|
||||
}
|
||||
}
|
||||
@@ -2259,7 +2263,7 @@ namespace Learner
|
||||
}
|
||||
|
||||
// Pass PV_is(ok) to eliminate this PV, there may be NULL_MOVE in the middle.
|
||||
// → PV should not be NULL_MOVE because it is PV
|
||||
// �¨ PV should not be NULL_MOVE because it is PV
|
||||
// MOVE_WIN has never been thrust. (For now)
|
||||
for (Move move : rootMoves[0].pv)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user