Small cleanups

closes https://github.com/official-stockfish/Stockfish/pull/3301

No functional change
This commit is contained in:
Lolligerhans
2021-01-12 14:59:51 +01:00
committed by Joost VandeVondele
parent 1188141aa7
commit 70a818cbd6
11 changed files with 100 additions and 59 deletions

View File

@@ -111,9 +111,9 @@ typedef Stats<PieceToHistory, NOT_USED, PIECE_NB, SQUARE_NB> ContinuationHistory
/// MovePicker class is used to pick one pseudo-legal move at a time from the
/// current position. The most important method is next_move(), which returns a
/// new pseudo-legal move each time it is called, until there are no moves left,
/// when MOVE_NONE is returned. In order to improve the efficiency of the alpha
/// beta algorithm, MovePicker attempts to return the moves which are most likely
/// to get a cut-off first.
/// when MOVE_NONE is returned. In order to improve the efficiency of the
/// alpha-beta algorithm, MovePicker attempts to return the moves which are most
/// likely to get a cut-off first.
class MovePicker {
enum PickType { Next, Best };