Go to the documentation of this file.
3 #ifndef OSL_PATH_ENCODING_H
4 #define OSL_PATH_ENCODING_H
28 unsigned long long get(
size_t depth,
Move m)
const
35 return get(depth, from, fromPtype) +
get(depth, to, toPtype) + 1;
unsigned long long get(size_t depth, Square pos, Ptype ptype) const
unsigned long long get(size_t depth, Move m) const
std::ostream & operator<<(std::ostream &os, Player player)
Ptype oldPtype() const
移動前のPtype, i.e., 成る手だった場合成る前
static const size_t MaxEncodingLength
unsigned int index() const
PathEncoding(Player turn, int d=0)
const Square from() const
CArray< CArray2d< unsigned long long, Square::SIZE, PTYPE_SIZE >, MaxEncodingLength > array_t
PathEncodingTable Path_Encoding_Table
bool operator==(Square l, Square r)
PathEncoding(const PathEncoding &org, Move m)
unsigned long long getPath() const
bool operator!=(Offset l, Offset r)