駒のペアの統計情報を元にした評価関数の共通部分. More...
#include <piecePairEval.h>
Public Types | |
typedef PiecePairEvalTableBase < Table > | base_t |
Public Member Functions | |
void | changeTurn () |
int | expect (const SimpleState &state, Move m) const |
この時 state は move する前 | |
void | update (const SimpleState &new_state, Move last_move) |
この時 state は move した後 | |
Static Public Member Functions | |
static int | diffWithMove (const SimpleState &state, Move move) |
Protected Member Functions | |
PiecePairEval (const SimpleState &state) |
駒のペアの統計情報を元にした評価関数の共通部分.
Table | PiecePairTable のどれかのinstatiationを想定 |
Definition at line 154 of file piecePairEval.h.
typedef PiecePairEvalTableBase<Table> osl::eval::ppair::PiecePairEval< Eval, Table >::base_t |
Reimplemented in osl::eval::ppair::PiecePairRawEval, osl::eval::ppair::PiecePairPieceEval, osl::eval::ppair::PiecePairWithStand< Table >, and osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >.
Definition at line 160 of file piecePairEval.h.
osl::eval::ppair::PiecePairEval< Eval, Table >::PiecePairEval | ( | const SimpleState & | state | ) | [explicit, protected] |
Definition at line 228 of file piecePairEval.tcc.
void osl::eval::ppair::PiecePairEval< Eval, Table >::changeTurn | ( | ) | [inline] |
Definition at line 161 of file piecePairEval.h.
static int osl::eval::ppair::PiecePairEval< Eval, Table >::diffWithMove | ( | const SimpleState & | state, |
Move | move | ||
) | [inline, static] |
Definition at line 172 of file piecePairEval.h.
int osl::eval::ppair::PiecePairEval< Eval, Table >::expect | ( | const SimpleState & | state, |
Move | m | ||
) | const |
この時 state は move する前
Definition at line 235 of file piecePairEval.tcc.
References osl::Move::capturePtype(), osl::Move::capturePtypeO(), osl::Piece::EMPTY(), osl::Move::from(), osl::Move::isDrop(), osl::newPtypeO(), piece_pair_assert, osl::Move::promoteMask(), osl::Move::ptype(), osl::PTYPE_EMPTY, and osl::Move::to().
void osl::eval::ppair::PiecePairEval< Eval, Table >::update | ( | const SimpleState & | new_state, |
Move | last_move | ||
) | [inline] |
この時 state は move した後
Definition at line 167 of file piecePairEval.h.