#ifndef SRC_OPENING_BOOK_H_ #define SRC_OPENING_BOOK_H_ #include "board/board.hpp" #include #include #include 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 entries; }; #endif /* SRC_OPENING_BOOK_H_ */