#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.
typedef CArray<CArray2d<unsigned long long, Square::SIZE, PTYPE_SIZE>, MaxEncodingLength> osl::PathEncodingTable::array_t [private] |
Definition at line 18 of file pathEncoding.h.
Definition at line 8 of file pathEncoding.cc.
References MaxEncodingLength, osl::PTYPE_SIZE, osl::misc::random(), osl::Square::SIZE, and values.
Definition at line 28 of file pathEncoding.cc.
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] |
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().