評価関数: PiecePairRawEval + PieceEval の点数を加えたもの More...
#include <piecePairPieceEval.h>
Public Types | |
typedef PiecePairWithStand < PiecePairPieceTable > | base_t |
![]() | |
typedef PiecePairEval < PiecePairWithStand < PiecePairPieceTable > , PiecePairPieceTable > | base_t |
![]() | |
typedef PiecePairEvalTableBase < PiecePairPieceTable > | base_t |
Public Member Functions | |
PiecePairPieceEval (const SimpleState &state) | |
![]() | |
PiecePairWithStand (const SimpleState &state) | |
![]() | |
void | changeTurn () |
int | expect (const SimpleState &state, Move m) const |
この時 state は move する前 More... | |
void | update (const SimpleState &new_state, Move last_move) |
この時 state は move した後 More... | |
Static Public Member Functions | |
static int | adjustableDimension () |
static void | resetWeights (const int *w) |
![]() | |
static int | standBonus (PtypeO ptypeo) |
static int | standBonus (const SimpleState &state) |
static int | diffAfterDropMove (const SimpleState &state, Square to, PtypeO ptypeo) |
static int | diffAfterSimpleMove (const SimpleState &state, Square from, Square to, int promote_mask) |
static int | diffAfterCaptureMove (const SimpleState &state, Square from, Square to, PtypeO victim, int promote_mask) |
static int | diffWithUpdate (const SimpleState &new_state, Move last_move) |
static void | setValues (const SimpleState &, container::PieceValues &) |
![]() | |
static int | diffWithMove (const SimpleState &state, Move move) |
![]() | |
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 int | roundUp (int v) |
static int | infty () |
static int | captureValue (PtypeO ptypeo) |
Additional Inherited Members | |
![]() | |
static const int | ROUND_UP = 2 |
roundup は 2^n であること More... | |
![]() | |
~PiecePairWithStand () | |
![]() | |
int | val |
評価関数: PiecePairRawEval + PieceEval の点数を加えたもの
Definition at line 34 of file piecePairPieceEval.h.
Definition at line 38 of file piecePairPieceEval.h.
|
inlineexplicit |
Definition at line 39 of file piecePairPieceEval.h.
|
inlinestatic |
Definition at line 43 of file piecePairPieceEval.h.
References osl::PTYPE_SIZE.
|
static |
Definition at line 139 of file piecePairPieceTable.cc.
References osl::PTYPE_SIZE.