3 #ifndef PROGRESS_PTYPE_PROGRESS_H 4 #define PROGRESS_PTYPE_PROGRESS_H 48 val += Ptype_Progress_Table.
progress(ptypeo,last_move.
to())
52 val += Ptype_Progress_Table.
progress(ptypeo,last_move.
to())
53 - Ptype_Progress_Table.
progress(ptypeo,last_move.
from());
PtypeO capturePtypeO() const
static int getProgress(const SimpleState &state)
PtypeO ptypeO() const
移動後のPtype, i.e., 成る手だった場合成った後
PtypeProgressTable Ptype_Progress_Table
const Square from() const
std::ostream & operator<<(std::ostream &os, LongEffect const &longEffect)
unsigned int index() const
void update(const SimpleState &, Move last_move)
ゲームの進行度を駒が自陣からどの程度前に進んでいるかの和で表現
static const CArray< int, 10 > yVals
y 座標に対応した進行度の係数、最初は0 (使用しない)
CArray< int, PTYPE_SIZE > ptype2Val
Ptype capturePtype() const
int progress(PtypeO ptypeo, Square pos) const
PtypeO
Player + Ptype [-15, 15] PtypeO の O は Owner の O.
CArray2d< int, PTYPEO_SIZE, Square::SIZE > pos2Val
bool operator==(const PtypeProgress rhs) const
static const Square STAND()