From 2f512931427121ea287cf2812ddf0b3fd6d7b83c Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 29 Jul 2026 11:16:11 +0200 Subject: saving cache to dish --- src/uci.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/uci.hpp') diff --git a/src/uci.hpp b/src/uci.hpp index 9352c48..7b6dca4 100644 --- a/src/uci.hpp +++ b/src/uci.hpp @@ -3,6 +3,7 @@ #include "board.hpp" #include +#include Move UciToMove(std::string uci); void LogUci(const std::string &message); @@ -10,4 +11,9 @@ void Uci(); Game initBoard( std::string startingFEN, std::unordered_map *transPositions); +void SaveTranspositionTable( + const std::unordered_map &table); +bool LoadTable( + const std::string &filename, + std::unordered_map *transpositions); #endif /* SRC_UCI_H_ */ -- cgit v1.2.3