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