mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Convert killers to a vector
Add infrastructure to threat killer moves as a vector, this will allow us to easily parametrize the number of killer moves, instead of hardcode this value to two as is now. This patch just add the infrastructure, no functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "depth.h"
|
||||
#include "lock.h"
|
||||
#include "position.h"
|
||||
#include "search.h"
|
||||
|
||||
|
||||
////
|
||||
@@ -62,7 +63,7 @@ public:
|
||||
PH_STOP
|
||||
};
|
||||
|
||||
MovePicker(const Position& p, bool pvnode, Move ttm, Move mk, Move k1, Move k2, Depth d, EvalInfo* ei = NULL);
|
||||
MovePicker(const Position& p, bool pvnode, Move ttm, const SearchStack& ss, Depth d, EvalInfo* ei = NULL);
|
||||
Move get_next_move();
|
||||
Move get_next_move(Lock &lock);
|
||||
int number_of_moves() const;
|
||||
|
||||
Reference in New Issue
Block a user