Go to the documentation of this file.
3 #ifndef PROGRESS_EFFECT5X3D_H
4 #define PROGRESS_EFFECT5X3D_H
CArray< int, 2 > progresses
static const Progress16 progress16each(int progress)
0-15 の値を返す.
ProgressN< 16 > Progress16
int min(Player p, int v1, int v2)
const Progress16 progress16() const
Effect5x3d(const NumEffectState &state)
int max(Player p, int v1, int v2)
const Progress16 progress16(Player p) const
static int makeProgress(const NumEffectState &state)
static const Progress16 progress16(int progress)
0-15 の値を返す
int progress(Player p) const
Square kingSquare() const
void update(const NumEffectState &new_state, Move last_move)
static int makeProgress(Player defense, const NumEffectState &state)
玉の周囲5x3の領域の利きの数ら計算した自玉のまわりの利きの数。 5x3領域は盤面内になるように補正する. 黒と白の両方の進行度を持つ. Effect5x3 との違い持駒の重みなし
static int makeProgress(Player defense, const NumEffectState &state, Square king)
王の位置を指定したprogressの計算.