All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Attributes | Private Types | Private Attributes | List of all members
osl::PathEncodingTable Class Reference

#include <pathEncoding.h>

Collaboration diagram for osl::PathEncodingTable:
Collaboration graph
[legend]

Public Member Functions

 PathEncodingTable ()
 
 ~PathEncodingTable ()
 
unsigned long long get (size_t depth, Square pos, Ptype ptype) const
 
unsigned long long get (size_t depth, Move m) const
 

Static Public Attributes

static const size_t MaxEncodingLength = 256
 

Private Types

typedef CArray< CArray2d
< unsigned long long,
Square::SIZE, PTYPE_SIZE >
, MaxEncodingLength
array_t
 

Private Attributes

array_t values
 

Detailed Description

Definition at line 12 of file pathEncoding.h.

Member Typedef Documentation

typedef CArray<CArray2d<unsigned long long, Square::SIZE, PTYPE_SIZE>, MaxEncodingLength> osl::PathEncodingTable::array_t
private

Definition at line 18 of file pathEncoding.h.

Constructor & Destructor Documentation

osl::PathEncodingTable::PathEncodingTable ( )
osl::PathEncodingTable::~PathEncodingTable ( )

Definition at line 28 of file pathEncoding.cc.

Member Function Documentation

unsigned long long osl::PathEncodingTable::get ( size_t  depth,
Square  pos,
Ptype  ptype 
) const
inline

Definition at line 23 of file pathEncoding.h.

References depth, osl::PTYPE_MIN, and values.

Referenced by osl::PathEncoding::popMove(), and osl::PathEncoding::pushMove().

unsigned long long osl::PathEncodingTable::get ( size_t  depth,
Move  m 
) const
inline
Returns
必ず奇数

Definition at line 30 of file pathEncoding.h.

References depth.

Member Data Documentation

const size_t osl::PathEncodingTable::MaxEncodingLength = 256
static

Definition at line 15 of file pathEncoding.h.

Referenced by PathEncodingTable().

array_t osl::PathEncodingTable::values
private

Definition at line 19 of file pathEncoding.h.

Referenced by get(), and PathEncodingTable().


The documentation for this class was generated from the following files: