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