[cluster] Improve user documentation

- add cluster info line
- provides basic info on positions received/stored in a cluster run,
  useful to judge performance.
- document most cluster functionality in the readme.md

No functional change
This commit is contained in:
Joost VandeVondele
2019-01-14 09:11:33 +01:00
committed by Stéphane Nicolet
parent 21819b7bf8
commit 10a920d7d7
6 changed files with 153 additions and 31 deletions
+6
View File
@@ -466,7 +466,10 @@ void Thread::search() {
&& multiPV == 1
&& (bestValue <= alpha || bestValue >= beta)
&& Time.elapsed() > 3000)
{
sync_cout << UCI::pv(rootPos, rootDepth, alpha, beta) << sync_endl;
Cluster::cluster_info(rootDepth);
}
// In case of failing low/high increase aspiration window and
// re-search, otherwise exit the loop.
@@ -501,7 +504,10 @@ void Thread::search() {
if ( Cluster::is_root() && mainThread
&& (Threads.stop || pvIdx + 1 == multiPV || Time.elapsed() > 3000))
{
sync_cout << UCI::pv(rootPos, rootDepth, alpha, beta) << sync_endl;
Cluster::cluster_info(rootDepth);
}
}
if (!Threads.stop)