mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 02:27:00 +08:00
Move insert_pv() and extract_pv() out of TT class
These functions have little to do with TranspositionTable class and more with the search and in particular with the PV handling. So move them where they belong. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
2
src/tt.h
2
src/tt.h
@@ -111,8 +111,6 @@ public:
|
||||
void store(const Key posKey, Value v, ValueType type, Depth d, Move m, Value statV, Value kingD);
|
||||
TTEntry* retrieve(const Key posKey) const;
|
||||
void new_search();
|
||||
void insert_pv(const Position& pos, Move pv[]);
|
||||
void extract_pv(const Position& pos, Move bestMove, Move pv[], const int PLY_MAX);
|
||||
TTEntry* first_entry(const Key posKey) const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user