#include <piecePairPieceEval.h>
|
typedef signed short | value_type |
|
static unsigned int | selfIndexOf (unsigned int i) |
|
static unsigned int | indexOf (unsigned int i1, unsigned int i2) |
|
static unsigned int | canonicalIndexOf (unsigned int i1, unsigned int i2) |
|
static void | meltIndex (size_t index, size_t &i1, size_t &i2) |
| 逆変換 More...
|
|
static unsigned int | positionIndexOf (Square pos) |
|
static unsigned int | ptypeOIndexOf (PtypeO ptypeo) |
|
static unsigned int | indexOf (Square pos, PtypeO ptypeo) |
|
static void | meltIndex (size_t index, Square &pos, PtypeO &ptypeo) |
| 逆変換 More...
|
|
static unsigned int | indexOf (Piece piece) |
|
static unsigned int | indexOf (Piece p1, Piece p2) |
|
static unsigned int | indexOfPieceNum (const SimpleState &s, int id) |
|
template<class F > |
static void | forEachRelation (F f) |
| 全ての関係についてfを実行する.重複する関係は訪れない More...
|
|
| PiecePairTable () |
|
| ~PiecePairTable () |
|
CArray< value_type, maxPairIndex > | values |
| const object に対して,データの変更は不可,読み込みは許可するために mutable にする. More...
|
|
Definition at line 15 of file piecePairPieceEval.h.
osl::eval::ppair::PiecePairPieceTable::PiecePairPieceTable |
( |
) | |
|
osl::eval::ppair::PiecePairPieceTable::~PiecePairPieceTable |
( |
) | |
|
bool osl::eval::ppair::PiecePairPieceTable::setUp |
( |
const char * |
filename) | |
const |
- Returns
- successful load
- Parameters
-
Definition at line 35 of file piecePairPieceTable.cc.
References osl::BLACK, osl::GOLD, osl::isPiece(), osl::newPtypeO(), out, osl::eval::Ptype_Eval_Table, osl::PTYPEO_MAX, osl::PTYPEO_MIN, osl::Square::rotate180(), osl::SILVER, osl::eval::PtypeEvalTable::value(), and osl::WHITE.
The documentation for this class was generated from the following files: