All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
osl::search::CompactHashTable Struct Reference
Collaboration diagram for osl::search::CompactHashTable:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 79 of file alphaBeta3.cc.

Member Typedef Documentation

Definition at line 81 of file alphaBeta3.cc.

Constructor & Destructor Documentation

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.

Member Function Documentation

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
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().

Member Data Documentation

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().

table_t osl::search::CompactHashTable::table

The documentation for this struct was generated from the following file: