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

#include <pathEncoding.h>

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

List of all members.

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

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

Definition at line 19 of file pathEncoding.h.

Referenced by get(), and PathEncodingTable().


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