Database of solved positions. More...
#include <DfpnSolver.hpp>
Public Member Functions | |
DfpnDB (const std::string &filename) | |
bool | Exists (const HexState &pos) const |
Returns true if position exists in database. | |
bool | Get (const HexState &pos, DfpnData &data) const |
Returns true if get is successful. | |
bool | Put (const HexState &brd, const DfpnData &data) |
Returns true if put is successful. | |
void | Flush () |
Statistics | GetStatistics () const |
std::string | BDBStatistics () |
Static Public Attributes | |
static const std::string | DFPN_DB_VERSION |
Current version of the dfpn database. |
Database of solved positions.
Definition at line 400 of file DfpnSolver.hpp.
DfpnDB::DfpnDB | ( | const std::string & | filename | ) | [inline] |
Definition at line 405 of file DfpnSolver.hpp.
Returns true if position exists in database.
Returns true if get is successful.
Returns true if put is successful.
const std::string DfpnDB::DFPN_DB_VERSION [static] |
Current version of the dfpn database.
Update this if DfpnData changes to prevent old out-of-date databases from being loaded.
Definition at line 403 of file DfpnSolver.hpp.