separated printings | bench 6238369

This commit is contained in:
rektdie committed 2025-10-06 17:56:46 +02:00
1 parent 6b5c1bbaa7
commit 5c6d75e9ef
5 files changed
+63 -20

No files matched your search

+12
View File
@@ -148,6 +148,16 @@ public:
}
}
std::string GetLine(int n) {
std::string result = "";
for (int i = 0; i < length[n]; i++) {
result += table[n][i].GetMoveString();
result += ' ';
}
return result;
}
void Clear() {
length[MAX_DEPTH - 1] = {};
table[MAX_DEPTH - 1][MAX_DEPTH - 1] = {};
@@ -218,5 +228,7 @@ bool IsDraw(Board &board, SearchContext* ctx);
void ListScores(Board &board, SearchContext* ctx);
void PrintSearchInfo(SearchContext* ctx, SearchResults& results, int depth, int elapsed);
int MoveEstimatedValue(Board& board, Move& move);
}