#include <pathEncoding.h>
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 |
Definition at line 12 of file pathEncoding.h.
|
private |
Definition at line 18 of file pathEncoding.h.
osl::PathEncodingTable::PathEncodingTable | ( | ) |
Definition at line 8 of file pathEncoding.cc.
References MaxEncodingLength, osl::PTYPE_SIZE, osl::misc::random(), osl::Square::SIZE, and values.
osl::PathEncodingTable::~PathEncodingTable | ( | ) |
Definition at line 28 of file pathEncoding.cc.
|
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().
|
inline |
|
static |
Definition at line 15 of file pathEncoding.h.
Referenced by PathEncodingTable().
|
private |
Definition at line 19 of file pathEncoding.h.
Referenced by get(), and PathEncodingTable().