encapsulated searchStopped
This commit is contained in:
1 parent
31de991dc4
commit
ac7325f295
4 files changed
+16
-23
No files matched your search
+1
-3
@@ -22,8 +22,6 @@ constexpr int MAX_HISTORY = 16384;
|
||||
|
||||
constexpr int inf = 100000;
|
||||
|
||||
inline bool searchStopped = false;
|
||||
|
||||
// [id][ply]
|
||||
inline int killerMoves[2][MAX_PLY];
|
||||
|
||||
@@ -112,6 +110,7 @@ public:
|
||||
int timeToSearch = 0;
|
||||
|
||||
bool doingNullMove = false;
|
||||
bool searchStopped = false;
|
||||
|
||||
PVLine pvLine;
|
||||
History history;
|
||||
@@ -130,7 +129,6 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply, SearchCo
|
||||
|
||||
template <searchMode mode>
|
||||
SearchResults SearchPosition(Board &board, SearchParams params, SearchContext& ctx);
|
||||
void StopSearch();
|
||||
|
||||
bool IsDraw(Board &board);
|
||||
|
||||
|
||||
Reference in new issue
Block a user