持駒の点数は表以外で管理するフレームワーク. [詳細]
#include <piecePairWithStand.h>


Public 型 | |
| typedef PiecePairEval < PiecePairWithStand< Table > , Table > | base_t |
Public メソッド | |
| PiecePairWithStand (const SimpleState &state) | |
Static Public メソッド | |
| static int | standBonus (PtypeO ptypeo) |
| static int | standBonus (const SimpleState &state) |
| static int | diffAfterDropMove (const SimpleState &state, Position to, PtypeO ptypeo) |
| static int | diffAfterCaptureMove (const SimpleState &state, Position from, Position to, PtypeO victim, int promote_mask) |
| static int | diffWithUpdate (const SimpleState &new_state, Move last_move) |
| static void | setValues (const SimpleState &, container::PieceValues &) |
| 関係の値をPiece 毎の価値に変換する. | |
Protected メソッド | |
| ~PiecePairWithStand () | |
持駒の点数は表以外で管理するフレームワーク.
(持駒の点数を表に書き込むと,同じ種類の駒を複数もっていると問 題が起こるため)
piecePairWithStand.h の 22 行で定義されています。
| typedef PiecePairEval<PiecePairWithStand<Table>, Table> osl::eval::ppair::PiecePairWithStand< Table >::base_t |
osl::eval::ppair::PiecePairEval< PiecePairWithStand< Table >, Table >を再定義しています。
osl::eval::ppair::PiecePairPieceEvalで再定義されています。
piecePairWithStand.h の 35 行で定義されています。
| osl::eval::ppair::PiecePairWithStand< Table >::PiecePairWithStand | ( | const SimpleState & | state | ) | [inline, explicit] |
| osl::eval::ppair::PiecePairWithStand< Table >::~PiecePairWithStand | ( | ) | [inline, protected] |
piecePairWithStand.h の 38 行で定義されています。
| static int osl::eval::ppair::PiecePairWithStand< Table >::diffAfterCaptureMove | ( | const SimpleState & | state, | |
| Position | from, | |||
| Position | to, | |||
| PtypeO | victim, | |||
| int | promote_mask | |||
| ) | [inline, static] |
osl::eval::ppair::PiecePairEvalTableBase< Table >を再定義しています。
piecePairWithStand.h の 45 行で定義されています。
| static int osl::eval::ppair::PiecePairWithStand< Table >::diffAfterDropMove | ( | const SimpleState & | state, | |
| Position | to, | |||
| PtypeO | ptypeo | |||
| ) | [inline, static] |
osl::eval::ppair::PiecePairEvalTableBase< Table >を再定義しています。
piecePairWithStand.h の 40 行で定義されています。
| static int osl::eval::ppair::PiecePairWithStand< Table >::diffWithUpdate | ( | const SimpleState & | new_state, | |
| Move | last_move | |||
| ) | [inline, static] |
osl::eval::ppair::PiecePairEvalTableBase< Table >を再定義しています。
piecePairWithStand.h の 54 行で定義されています。
| void osl::eval::ppair::PiecePairWithStand< Table >::setValues | ( | const SimpleState & | state, | |
| container::PieceValues & | values | |||
| ) | [inline, static] |
関係の値をPiece 毎の価値に変換する.
osl::eval::ppair::PiecePairEvalTableBase< Table >を再定義しています。
piecePairWithStand.tcc の 11 行で定義されています。
参照先 osl::isBasic(), osl::isMajorBasic(), osl::Piece::isOnBoard(), osl::newPtypeO(), osl::Piece::owner(), osl::PAWN, osl::Piece::ptype(), osl::eval::Ptype_Eval_Table, osl::Piece::ptypeO(), osl::eval::ppair::PiecePairEvalTableBase< Table >::setValues(), osl::Piece::SIZE, と osl::eval::PtypeEvalTable::value().
| int osl::eval::ppair::PiecePairWithStand< Table >::standBonus | ( | const SimpleState & | state | ) | [inline, static] |
| static int osl::eval::ppair::PiecePairWithStand< Table >::standBonus | ( | PtypeO | ptypeo | ) | [inline, static] |
piecePairWithStand.h の 26 行で定義されています。
参照元 osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterCaptureMove(), osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterDropMove(), osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffWithUpdate(), osl::eval::ppair::PiecePairWithStand< Table >::PiecePairWithStand(), と osl::eval::ppair::PiecePairWithStand< Table >::standBonus().
1.6.3