#include <hashKey.h>
Public Member Functions | |
HashKey () | |
HashKey (const SimpleState &) | |
const HashKey | newHashWithMove (Move move) const |
const HashKey | newMakeMove (Move) const |
const HashKey | newUnmakeMove (Move) const |
void | dumpContents (std::ostream &os) const |
void | dumpContentsCerr () const |
Static Public Member Functions | |
static const HashKey | readFromDump (const std::string &) |
static const HashKey | readFromDump (std::istream &) |
osl::hash::HashKey::HashKey | ( | const SimpleState & | state | ) |
Definition at line 58 of file hashKey.cc.
References osl::hash::HashGenTable::addHashKey(), osl::hash::Hash_Gen_Table, osl::Piece::ptypeO(), setPlayer(), and osl::Piece::square().
void osl::hash::HashKey::dumpContents | ( | std::ostream & | os | ) | const |
Definition at line 26 of file hashKey.cc.
void osl::hash::HashKey::dumpContentsCerr | ( | ) | const |
Definition at line 34 of file hashKey.cc.
const osl::hash::HashKey osl::hash::HashKey::newHashWithMove | ( | Move | move | ) | const |
Definition at line 69 of file hashKey.cc.
Referenced by osl::search::SimpleHashTable::getPV().
const osl::hash::HashKey osl::hash::HashKey::newMakeMove | ( | Move | move | ) | const |
Definition at line 75 of file hashKey.cc.
References osl::hash::HashGenTable::addHashKey(), osl::alt(), osl::captured(), osl::Move::capturePtype(), osl::Move::from(), osl::hash::Hash_Gen_Table, osl::Move::isPass(), osl::Move::isValid(), osl::newPtypeO(), osl::Move::oldPtypeO(), osl::Move::player(), osl::PTYPE_EMPTY, osl::Move::ptypeO(), osl::Square::STAND(), osl::hash::HashGenTable::subHashKey(), and osl::Move::to().
Referenced by doMain().
const osl::hash::HashKey osl::hash::HashKey::newUnmakeMove | ( | Move | move | ) | const |
Definition at line 102 of file hashKey.cc.
References osl::hash::HashGenTable::addHashKey(), osl::alt(), osl::captured(), osl::Move::capturePtype(), osl::Move::from(), osl::hash::Hash_Gen_Table, osl::Move::isPass(), osl::Move::isValid(), osl::newPtypeO(), osl::Move::oldPtypeO(), osl::Move::player(), osl::PTYPE_EMPTY, osl::Move::ptypeO(), osl::Square::STAND(), osl::hash::HashGenTable::subHashKey(), and osl::Move::to().
const osl::hash::HashKey osl::hash::HashKey::readFromDump | ( | const std::string & | str | ) | [static] |
Definition at line 39 of file hashKey.cc.
const osl::hash::HashKey osl::hash::HashKey::readFromDump | ( | std::istream & | is | ) | [static] |
Definition at line 45 of file hashKey.cc.