3#ifndef OSL_BOOKINMEMORY_H
4#define OSL_BOOKINMEMORY_H
6#include <unordered_map>
17 typedef std::unordered_map<HashKey,moves_t,std::hash<HashKey>>
table_t;
27 void readAll(
const std::string& filename);
31 using book::BookInMemory;
CArray< Move, 8 > moves_t
int readRecursive(const HashKey &key, int index, WeightedBook &book, int, int)
static const BookInMemory & instance(const std::string &filename="")
std::unordered_map< HashKey, moves_t, std::hash< HashKey > > table_t
void readAll(const std::string &filename)
void find(const HashKey &key, MoveVector &out) const