mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 13:17:12 +00:00
Implement best move voting system for cluster
This implements the cluster version of https://github.com/official-stockfish/Stockfish/commit/d96c1c32a2fa109e7cc6cd07f6029cd13977121e
This commit is contained in:
committed by
Stéphane Nicolet
parent
2559c20c6e
commit
66b2c6b9f1
+3
-2
@@ -288,10 +288,11 @@ void MainThread::search() {
|
||||
}
|
||||
}
|
||||
|
||||
Cluster::MoveInfo mi{bestThread->completedDepth,
|
||||
Cluster::MoveInfo mi{bestThread->rootMoves[0].pv[0],
|
||||
bestThread->completedDepth,
|
||||
bestThread->rootMoves[0].score,
|
||||
Cluster::rank()};
|
||||
Cluster::reduce_moves(mi);
|
||||
Cluster::pick_moves(mi);
|
||||
|
||||
previousScore = static_cast<Value>(mi.score);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user