chess::Move probe(const chess::Board &board, const std::string &bookName="Book")
Probes the book for a move matching the current board state.
Definition polyglot_book.cpp:181
Represents a single entry in a Polyglot book file.
Definition polyglot_book.hpp:21
uint64_t key
Zobrist hash of the position.
Definition polyglot_book.hpp:22
uint16_t move
Encoded move in Polyglot format.
Definition polyglot_book.hpp:23
uint32_t learn
Learn score (often unused).
Definition polyglot_book.hpp:25
uint16_t weight
Weight or frequency of the move.
Definition polyglot_book.hpp:24