All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Types | Private Attributes
osl::checkmate::DfpnPathTable Class Reference
Collaboration diagram for osl::checkmate::DfpnPathTable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DfpnPathTable ()
template<Player Attack>
DfpnPathRecordallocate (const HashKey &key, int depth, LoopToDominance &loop)
const DfpnPathRecordprobe (const HashKey &key) const
void clear ()
size_t runGC ()
size_t size () const
void rehash (size_t bucket_size)

Private Types

typedef hash_map< BoardKey,
DfpnPathList
table_t

Private Attributes

table_t table
size_t total_size
size_t gc_threshold

Detailed Description

Definition at line 280 of file dfpn.cc.


Member Typedef Documentation

typedef hash_map<BoardKey, DfpnPathList > osl::checkmate::DfpnPathTable::table_t [private]

Definition at line 288 of file dfpn.cc.


Constructor & Destructor Documentation

Definition at line 293 of file dfpn.cc.


Member Function Documentation

template<Player Attack>
DfpnPathRecord* osl::checkmate::DfpnPathTable::allocate ( const HashKey &  key,
int  depth,
LoopToDominance loop 
) [inline]

Definition at line 297 of file dfpn.cc.

References osl::checkmate::DfpnPathList::allocate(), depth, table, and total_size.

Definition at line 310 of file dfpn.cc.

References table.

const DfpnPathRecord* osl::checkmate::DfpnPathTable::probe ( const HashKey &  key) const [inline]

Definition at line 303 of file dfpn.cc.

References table.

void osl::checkmate::DfpnPathTable::rehash ( size_t  bucket_size) [inline]

Definition at line 327 of file dfpn.cc.

References table.

Definition at line 311 of file dfpn.cc.

References gc_threshold, osl::OslConfig::memoryUseRatio(), table, and total_size.

size_t osl::checkmate::DfpnPathTable::size ( ) const [inline]

Definition at line 326 of file dfpn.cc.

References total_size.


Member Data Documentation

Definition at line 291 of file dfpn.cc.

Referenced by runGC().

Definition at line 289 of file dfpn.cc.

Referenced by allocate(), clear(), probe(), rehash(), and runGC().

Definition at line 290 of file dfpn.cc.

Referenced by allocate(), runGC(), and size().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines