~Book();
void open(const std::string& fileName);
void close();
- Move get_move(const Position& pos, bool findBestMove);
+ Move probe(const Position& pos, bool findBestMove);
const std::string name() const { return bookName; }
private:
BookEntry read_entry(int idx);
int first_entry(uint64_t key);
+ RKISS RKiss;
std::ifstream bookFile;
std::string bookName;
int bookSize;
- RKISS RKiss;
};
#endif // !defined(BOOK_H_INCLUDED)