#include <piecePairRawEval.h>
Public Member Functions | |
PiecePairRawTable () | |
~PiecePairRawTable () | |
bool | setUp (const char *filename) const |
一度だけ読み込む | |
bool | loadFromBinaryFile (const char *filename) const |
バイナリファイルから読み込む. | |
void | writeInBinaryFile (const char *filename) const |
バイナリファイルに書き出す. | |
Static Public Attributes | |
static const PiecePairRawTable | Table |
user must initialize this before use |
Definition at line 15 of file piecePairRawEval.h.
Definition at line 36 of file piecePairRawTable.cc.
Definition at line 41 of file piecePairRawTable.cc.
bool osl::eval::ppair::PiecePairRawTable::loadFromBinaryFile | ( | const char * | filename | ) | const |
バイナリファイルから読み込む.
r2246以降ではファイルイメージとメモリイメージとは,PiecePairIndex が違うので,変換が必要.
Definition at line 70 of file piecePairRawTable.cc.
References osl::Square::isPieceStand(), osl::PTYPEO_MIN, osl::PTYPEO_SIZE, and verbose.
bool osl::eval::ppair::PiecePairRawTable::setUp | ( | const char * | filename | ) | const |
void osl::eval::ppair::PiecePairRawTable::writeInBinaryFile | ( | const char * | filename | ) | const |
バイナリファイルに書き出す.
r2246以降ではファイルイメージとメモリイメージとは,PiecePairIndex が違うので,変換が必要.
Definition at line 46 of file piecePairRawTable.cc.
References osl::PTYPEO_MIN, and osl::PTYPEO_SIZE.
user must initialize this before use
Definition at line 41 of file piecePairRawEval.h.