Public Types | |
typedef hash_map< HashKey, CompactRecord > | table_t |
Public Member Functions | |
CompactHashTable () | |
~CompactHashTable () | |
const CompactRecord | probe (const HashKey &key) const |
void | store (const HashKey &key, const CompactRecord &value) |
void | clear () |
Public Attributes | |
table_t | table |
int | probe_success |
int | probe_fail |
Definition at line 79 of file alphaBeta3.cc.
typedef hash_map<HashKey, CompactRecord> osl::search::CompactHashTable::table_t |
Definition at line 81 of file alphaBeta3.cc.
osl::search::CompactHashTable::CompactHashTable | ( | ) | [inline] |
Definition at line 84 of file alphaBeta3.cc.
osl::search::CompactHashTable::~CompactHashTable | ( | ) | [inline] |
Definition at line 87 of file alphaBeta3.cc.
void osl::search::CompactHashTable::clear | ( | ) | [inline] |
Definition at line 104 of file alphaBeta3.cc.
References probe_fail, probe_success, and table.
Referenced by osl::search::AlphaBeta3::computeBestMoveIteratively().
const CompactRecord osl::search::CompactHashTable::probe | ( | const HashKey & | key | ) | const [inline] |
Definition at line 90 of file alphaBeta3.cc.
References probe_fail, probe_success, and table.
Referenced by osl::search::AlphaBeta3::presearch(), osl::search::AlphaBeta3::search(), and osl::search::AlphaBeta3::searchRoot().
void osl::search::CompactHashTable::store | ( | const HashKey & | key, |
const CompactRecord & | value | ||
) | [inline] |
Definition at line 100 of file alphaBeta3.cc.
References table.
Referenced by osl::search::AlphaBeta3::search(), and osl::search::AlphaBeta3::searchRoot().
int osl::search::CompactHashTable::probe_fail [mutable] |
Definition at line 83 of file alphaBeta3.cc.
Referenced by clear(), osl::search::AlphaBeta3::computeBestMoveIteratively(), and probe().
int osl::search::CompactHashTable::probe_success [mutable] |
Definition at line 83 of file alphaBeta3.cc.
Referenced by clear(), osl::search::AlphaBeta3::computeBestMoveIteratively(), and probe().
Definition at line 82 of file alphaBeta3.cc.
Referenced by clear(), osl::search::AlphaBeta3::computeBestMoveIteratively(), probe(), and store().