My Project
|
Square を [0..81] に圧縮する 0: 駒台,1..81 盤上 More...
#include <squareCompressor.h>
Classes | |
class | Initializer |
Static Public Member Functions | |
static int | compress (Square pos) |
static Square | melt (int index) |
Static Private Attributes | |
static CArray< signed char, Square::SIZE > | positionToIndex |
本当はconst にしたいけど初期化が手間なので後回し | |
Friends | |
class | Initializer |
Square を [0..81] に圧縮する 0: 駒台,1..81 盤上
Definition at line 15 of file squareCompressor.h.
|
inlinestatic |
Definition at line 24 of file squareCompressor.h.
References osl::Square::index(), and positionToIndex.
Referenced by osl::Move::toMove16().
|
inlinestatic |
Definition at line 34 of file squareCompressor.h.
References osl::Square::STAND().
Referenced by osl::Move::fromMove16().
|
friend |
Definition at line 22 of file squareCompressor.h.
|
staticprivate |
本当はconst にしたいけど初期化が手間なので後回し
Definition at line 19 of file squareCompressor.h.
Referenced by compress(), and osl::SquareCompressor::Initializer::Initializer().