diff options
Diffstat (limited to 'src/opening_book.hpp')
| -rw-r--r-- | src/opening_book.hpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/opening_book.hpp b/src/opening_book.hpp deleted file mode 100644 index e37e8b3..0000000 --- a/src/opening_book.hpp +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef SRC_OPENING_BOOK_H_ -#define SRC_OPENING_BOOK_H_ - -#include "board/board.hpp" -#include <cstdint> -#include <string> -#include <vector> -struct Polygot_Entry { - uint64_t key; - uint16_t move; - uint16_t weight; - uint32_t learn; -}; - -class Polyglot_Book { -public: - bool Load(const std::string &filename); - bool HasMove(const Game &board) const; - Move GetMove(const Game &board) const; - -private: - std::vector<Polygot_Entry> entries; -}; -#endif /* SRC_OPENING_BOOK_H_ */ |
