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;
Ptype oldPtype() const
移動前のPtype, i.e., 成る手だった場合成る前
const Square from() const
static const size_t MaxEncodingLength
unsigned long long get(size_t depth, Square pos, Ptype ptype) const
unsigned long long get(size_t depth, Move m) const
CArray< CArray2d< unsigned long long, Square::SIZE, PTYPE_SIZE >, MaxEncodingLength > array_t
unsigned long long getPath() const
PathEncoding(const PathEncoding &org, Move m)
PathEncoding(Player turn, int d=0)
unsigned int index() const
bool operator!=(Offset l, Offset r)
PathEncodingTable Path_Encoding_Table
std::ostream & operator<<(std::ostream &os, Player player)
bool operator==(Square l, Square r)