Revert "encapsulated positionHistory | bench 1857933"
This reverts commit 2e8c23103f.
This commit is contained in:
1 parent
ce02841a5c
commit
3275cee01e
6 files changed
+37
-34
No files matched your search
+1
-3
@@ -113,7 +113,6 @@ public:
|
||||
History history;
|
||||
|
||||
std::array<std::array<int, MAX_PLY>, 2> killerMoves{};
|
||||
std::array<U64, 1000> positionHistory;
|
||||
|
||||
Stopwatch sw;
|
||||
|
||||
@@ -122,7 +121,6 @@ public:
|
||||
history.Clear();
|
||||
sw.Restart();
|
||||
killerMoves = {};
|
||||
positionHistory = {};
|
||||
}
|
||||
};
|
||||
|
||||
@@ -132,7 +130,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply, SearchCo
|
||||
template <searchMode mode>
|
||||
SearchResults SearchPosition(Board &board, SearchParams params, SearchContext& ctx);
|
||||
|
||||
bool IsDraw(Board &board, SearchContext& ctx);
|
||||
bool IsDraw(Board &board);
|
||||
|
||||
constexpr int moveScoreTable[6][6] = {
|
||||
105, 205, 305, 405, 505, 605,
|
||||
|
||||
Reference in new issue
Block a user