#include <piecePairEval.h>


Static Public Member Functions | |
| static int | adjustPairs (const SimpleState &state, unsigned int new_index) |
| 駒が old_index から new_index に動いたときの値の差分 More... | |
| 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 した後 More... | |
| 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 毎の価値に変換する. More... | |
| static bool | initialized () |
| static bool | setUp (const char *filename) |
| static bool | setUp () |
Static Public Member Functions inherited from osl::eval::ppair::PiecePairEvalBase | |
| static int | roundUp (int v) |
| static int | infty () |
| static int | captureValue (PtypeO ptypeo) |
Protected Member Functions | |
| PiecePairEvalTableBase (const SimpleState &state) | |
| ~PiecePairEvalTableBase () | |
Protected Member Functions inherited from osl::eval::ppair::PiecePairEvalBase | |
| PiecePairEvalBase () | |
| ~PiecePairEvalBase () | |
Static Private Member Functions | |
| static bool & | initializationFlag () |
Additional Inherited Members | |
Public Member Functions inherited from osl::eval::ppair::PiecePairEvalBase | |
| int | value () const |
| int | rawValue () const |
Static Public Attributes inherited from osl::eval::ppair::PiecePairEvalBase | |
| static const int | ROUND_UP = 2 |
| roundup は 2^n であること More... | |
Protected Attributes inherited from osl::eval::ppair::PiecePairEvalBase | |
| int | val |
Definition at line 62 of file piecePairEval.h.
|
explicitprotected |
Definition at line 14 of file piecePairEval.tcc.
|
inlineprotected |
Definition at line 67 of file piecePairEval.h.
|
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().
|
static |
Definition at line 73 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
|
static |
Definition at line 95 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
|
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().
|
static |
Definition at line 141 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
|
static |
Definition at line 162 of file piecePairEval.tcc.
References osl::Piece::isOnBoard(), and target.
|
inlinestatic |
Definition at line 97 of file piecePairEval.h.
Referenced by osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterCaptureMove().
|
inlinestatic |
Definition at line 92 of file piecePairEval.h.
Referenced by osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterDropMove().
|
inlinestatic |
Definition at line 82 of file piecePairEval.h.
Referenced by osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterSimpleMove().
|
inlinestatic |
Definition at line 119 of file piecePairEval.h.
Referenced by osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffWithUpdate().
|
staticprivate |
Definition at line 27 of file piecePairEval.tcc.
Referenced by osl::eval::ppair::PiecePairEvalTableBase< PiecePairPieceTable >::initialized().
|
inlinestatic |
Definition at line 142 of file piecePairEval.h.
|
static |
Definition at line 35 of file piecePairEval.tcc.
References result.
|
static |
Definition at line 44 of file piecePairEval.tcc.
|
static |
関係の値をPiece 毎の価値に変換する.
Definition at line 190 of file piecePairEval.tcc.
References osl::PieceTable::getPtypeOf(), osl::KING, and osl::Piece_Table.
1.8.4