1 parent
0242eec87d
commit
43dc63cdf3
6 files changed
+26
-28
No files matched your search
+7
-5
@@ -6,8 +6,6 @@
|
||||
#include <algorithm>
|
||||
#include "stopwatch.h"
|
||||
|
||||
class TTable;
|
||||
|
||||
namespace SEARCH {
|
||||
|
||||
enum searchMode {
|
||||
@@ -113,15 +111,19 @@ public:
|
||||
|
||||
PVLine pvLine;
|
||||
History history;
|
||||
TTable* TT;
|
||||
|
||||
std::array<std::array<int, MAX_PLY>, 2> killerMoves{};
|
||||
std::array<U64, 1000> positionHistory;
|
||||
|
||||
Stopwatch sw;
|
||||
|
||||
SearchContext();
|
||||
~SearchContext();
|
||||
SearchContext(){
|
||||
pvLine.Clear();
|
||||
history.Clear();
|
||||
sw.Restart();
|
||||
killerMoves = {};
|
||||
positionHistory = {};
|
||||
}
|
||||
};
|
||||
|
||||
template <bool isPV, searchMode mode>
|
||||
|
||||
Reference in new issue
Block a user