All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
osl::record::opening::BookInMemory Class Reference

#include <bookInMemory.h>

Collaboration diagram for osl::record::opening::BookInMemory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void find (const HashKey &key, MoveVector &out) const
size_t size () const

Static Public Member Functions

static const BookInMemoryinstance ()

Private Types

typedef CArray< Move, 8 > moves_t
typedef hash_map< HashKey,
moves_t
table_t

Private Member Functions

 BookInMemory ()
 ~BookInMemory ()
void readAll ()
int readRecursive (const HashKey &key, int index, WeightedBook &book, int, int)

Private Attributes

table_t table

Detailed Description

Definition at line 15 of file bookInMemory.h.


Member Typedef Documentation

Definition at line 17 of file bookInMemory.h.

typedef hash_map<HashKey,moves_t> osl::record::opening::BookInMemory::table_t [private]

Definition at line 18 of file bookInMemory.h.


Constructor & Destructor Documentation

Definition at line 10 of file bookInMemory.cc.

Definition at line 16 of file bookInMemory.cc.


Member Function Documentation

void osl::record::opening::BookInMemory::find ( const HashKey &  key,
MoveVector &  out 
) const

Definition at line 65 of file bookInMemory.cc.

References osl::Move::isNormal().

Definition at line 77 of file bookInMemory.cc.

References book().

Definition at line 56 of file bookInMemory.cc.

References book(), and osl::record::opening::WeightedBook::getStartState().

int osl::record::opening::BookInMemory::readRecursive ( const HashKey &  key,
int  index,
WeightedBook book,
int  depth,
int   
) [private]
size_t osl::record::opening::BookInMemory::size ( ) const [inline]

Definition at line 22 of file bookInMemory.h.

References table.


Member Data Documentation

Definition at line 19 of file bookInMemory.h.

Referenced by size().


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