#include <ptypeProgress.h>
Public メソッド | |
PtypeProgress (SimpleState const &state) | |
int | progress () const |
void | changeTurn () |
void | update (const SimpleState &, Move last_move) |
bool | operator== (const PtypeProgress rhs) const |
Static Public メソッド | |
static int | getProgress (const SimpleState &state) |
Private メソッド | |
void | addVal (int d) |
Private 変数 | |
int | val |
ptypeProgress.h の 29 行で定義されています。
osl::progress::PtypeProgress::PtypeProgress | ( | SimpleState const & | state | ) | [explicit] |
ptypeProgress.cc の 91 行で定義されています。
参照先 osl::BLACK, osl::PieceTable::getPtypeOf(), osl::SimpleState::isOnBoard(), osl::newPtypeO(), osl::Piece_Table, osl::SimpleState::pieceOf(), osl::progress::PtypeProgressTable::progress(), osl::progress::Ptype_Progress_Table, osl::Piece::SIZE, osl::Square::STAND(), osl::SimpleState::standMask(), osl::PieceMask::test(), val, と osl::WHITE.
void osl::progress::PtypeProgress::addVal | ( | int | d | ) | [inline, private] |
ptypeProgress.h の 36 行で定義されています。
参照先 val.
void osl::progress::PtypeProgress::changeTurn | ( | ) | [inline] |
ptypeProgress.h の 38 行で定義されています。
static int osl::progress::PtypeProgress::getProgress | ( | const SimpleState & | state | ) | [inline, static] |
ptypeProgress.h の 39 行で定義されています。
参照先 progress().
bool osl::progress::PtypeProgress::operator== | ( | const PtypeProgress | rhs | ) | const [inline] |
ptypeProgress.h の 60 行で定義されています。
参照先 val.
int osl::progress::PtypeProgress::progress | ( | ) | const [inline] |
void osl::progress::PtypeProgress::update | ( | const SimpleState & | , | |
Move | last_move | |||
) | [inline] |
ptypeProgress.h の 44 行で定義されています。
参照先 osl::Move::capturePtype(), osl::Move::capturePtypeO(), osl::Move::from(), osl::Move::isDrop(), osl::progress::PtypeProgressTable::progress(), osl::PTYPE_EMPTY, osl::progress::Ptype_Progress_Table, osl::Move::ptypeO(), osl::Square::STAND(), osl::Move::to(), と val.
int osl::progress::PtypeProgress::val [private] |
ptypeProgress.h の 31 行で定義されています。
参照元 addVal(), operator==(), progress(), PtypeProgress(), と update().