#include <piecePairEval.h>


Static Public Member Functions | |
| static int | adjustPairs (const SimpleState &state, unsigned int new_index) |
| 駒が old_index から new_index に動いたときの値の差分 | |
| static int | adjustPairs (const SimpleState &state, unsigned int old_index, unsigned int new_index) |
| static int | adjustPairs (const SimpleState &state, unsigned int old_index, unsigned int old_index2, unsigned int new_index) |
| static int | diffAfterSimpleMove (const SimpleState &state, Square from, Square to, int promote_mask) |
| static int | diffAfterDropMove (const SimpleState &state, Square to, PtypeO ptypeo) |
| static int | diffAfterCaptureMove (const SimpleState &state, Square from, Square to, PtypeO victim, int promote_mask) |
| static int | adjustPairsAfterMove (const SimpleState &state, unsigned int new_index) |
| この時 state は move した後 | |
| static int | adjustPairsAfterMove (const SimpleState &state, unsigned int old_index, unsigned int new_index) |
| static int | adjustPairsAfterMove (const SimpleState &state, unsigned int old_index, unsigned int old_index2, unsigned int new_index) |
| static int | diffWithUpdate (const SimpleState &new_state, Move last_move) |
| static void | setValues (const SimpleState &, container::PieceValues &) |
| 関係の値をPiece 毎の価値に変換する. | |
| static bool | initialized () |
| static bool | setUp (const char *filename) |
| static bool | setUp () |
Protected Member Functions | |
| PiecePairEvalTableBase (const SimpleState &state) | |
| ~PiecePairEvalTableBase () | |
Static Private Member Functions | |
| static bool & | initializationFlag () |
Definition at line 62 of file piecePairEval.h.
| osl::eval::ppair::PiecePairEvalTableBase< Table >::PiecePairEvalTableBase | ( | const SimpleState & | state | ) | [explicit, protected] |
Definition at line 14 of file piecePairEval.tcc.
| osl::eval::ppair::PiecePairEvalTableBase< Table >::~PiecePairEvalTableBase | ( | ) | [inline, protected] |
Definition at line 67 of file piecePairEval.h.
| int osl::eval::ppair::PiecePairEvalTableBase< Table >::adjustPairs | ( | const SimpleState & | state, |
| unsigned int | new_index | ||
| ) | [static] |
駒が old_index から new_index に動いたときの値の差分
| state | 動く前の局面 |
| old_index | 駒+移動元 |
| new_index | 駒+移動先 |
Definition at line 53 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
Referenced by osl::eval::ppair::PiecePairEvalTableBase< PiecePairPieceTable >::diffAfterCaptureMove(), osl::eval::ppair::PiecePairEvalTableBase< PiecePairPieceTable >::diffAfterDropMove(), and osl::eval::ppair::PiecePairEvalTableBase< PiecePairPieceTable >::diffAfterSimpleMove().
| int osl::eval::ppair::PiecePairEvalTableBase< Table >::adjustPairs | ( | const SimpleState & | state, |
| unsigned int | old_index, | ||
| unsigned int | new_index | ||
| ) | [static] |
Definition at line 73 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
| int osl::eval::ppair::PiecePairEvalTableBase< Table >::adjustPairs | ( | const SimpleState & | state, |
| unsigned int | old_index, | ||
| unsigned int | old_index2, | ||
| unsigned int | new_index | ||
| ) | [static] |
Definition at line 95 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
| int osl::eval::ppair::PiecePairEvalTableBase< Table >::adjustPairsAfterMove | ( | const SimpleState & | state, |
| unsigned int | new_index | ||
| ) | [static] |
この時 state は move した後
Definition at line 123 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
Referenced by osl::eval::ppair::PiecePairEvalTableBase< PiecePairPieceTable >::diffWithUpdate().
| int osl::eval::ppair::PiecePairEvalTableBase< Table >::adjustPairsAfterMove | ( | const SimpleState & | state, |
| unsigned int | old_index, | ||
| unsigned int | new_index | ||
| ) | [static] |
Definition at line 141 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
| int osl::eval::ppair::PiecePairEvalTableBase< Table >::adjustPairsAfterMove | ( | const SimpleState & | state, |
| unsigned int | old_index, | ||
| unsigned int | old_index2, | ||
| unsigned int | new_index | ||
| ) | [static] |
Definition at line 162 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
| static int osl::eval::ppair::PiecePairEvalTableBase< Table >::diffAfterCaptureMove | ( | const SimpleState & | state, |
| Square | from, | ||
| Square | to, | ||
| PtypeO | victim, | ||
| int | promote_mask | ||
| ) | [inline, static] |
Reimplemented in osl::eval::ppair::PiecePairWithStand< Table >, and osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >.
Definition at line 97 of file piecePairEval.h.
Referenced by osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterCaptureMove(), and osl::eval::ppair::PiecePairEval< PiecePairWithStand< Table >, Table >::diffWithMove().
| static int osl::eval::ppair::PiecePairEvalTableBase< Table >::diffAfterDropMove | ( | const SimpleState & | state, |
| Square | to, | ||
| PtypeO | ptypeo | ||
| ) | [inline, static] |
Reimplemented in osl::eval::ppair::PiecePairWithStand< Table >, and osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >.
Definition at line 92 of file piecePairEval.h.
Referenced by osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterDropMove().
| static int osl::eval::ppair::PiecePairEvalTableBase< Table >::diffAfterSimpleMove | ( | const SimpleState & | state, |
| Square | from, | ||
| Square | to, | ||
| int | promote_mask | ||
| ) | [inline, static] |
Reimplemented in osl::eval::ppair::PiecePairWithStand< Table >, and osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >.
Definition at line 82 of file piecePairEval.h.
Referenced by osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterSimpleMove(), and osl::eval::ppair::PiecePairEval< PiecePairWithStand< Table >, Table >::diffWithMove().
| static int osl::eval::ppair::PiecePairEvalTableBase< Table >::diffWithUpdate | ( | const SimpleState & | new_state, |
| Move | last_move | ||
| ) | [inline, static] |
Reimplemented in osl::eval::ppair::PiecePairWithStand< Table >, and osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >.
Definition at line 119 of file piecePairEval.h.
Referenced by osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffWithUpdate(), and osl::eval::ppair::PiecePairEval< PiecePairWithStand< Table >, Table >::update().
| bool & osl::eval::ppair::PiecePairEvalTableBase< Table >::initializationFlag | ( | ) | [static, private] |
Definition at line 27 of file piecePairEval.tcc.
Referenced by osl::eval::ppair::PiecePairEvalTableBase< PiecePairPieceTable >::initialized().
| static bool osl::eval::ppair::PiecePairEvalTableBase< Table >::initialized | ( | ) | [inline, static] |
Definition at line 142 of file piecePairEval.h.
| bool osl::eval::ppair::PiecePairEvalTableBase< Table >::setUp | ( | const char * | filename | ) | [static] |
Definition at line 35 of file piecePairEval.tcc.
References result.
| bool osl::eval::ppair::PiecePairEvalTableBase< Table >::setUp | ( | ) | [static] |
Definition at line 44 of file piecePairEval.tcc.
| void osl::eval::ppair::PiecePairEvalTableBase< Table >::setValues | ( | const SimpleState & | state, |
| container::PieceValues & | values | ||
| ) | [static] |
関係の値をPiece 毎の価値に変換する.
Reimplemented in osl::eval::ppair::PiecePairWithStand< Table >, and osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >.
Definition at line 190 of file piecePairEval.tcc.
References osl::PieceTable::getPtypeOf(), osl::KING, and osl::Piece_Table.
1.7.6.1