クラス osl::eval::ml::NonPawnAttackedPtype
#include <minorPiece.h>
すべてのメンバ一覧
Public 型 |
enum | { ONE_DIM = 1024,
DIM = ONE_DIM * EvalStages
} |
Static Public メソッド |
static void | setUp (const Weights &weights) |
static void | eval (const NumEffectState &state, CArray< PieceMask, 40 > &attacked_mask, MultiIntPair &out) |
template<Player P> |
static void | evalWithUpdateBang (const NumEffectState &state, Move moved, const CArray< PieceMask, 2 > &effected_mask, CArray< PieceMask, 40 > &attacked_mask, MultiIntPair &last_value_and_out) |
Static Private メソッド |
static int | index (bool same_turn, bool has_support, Ptype ptype, Ptype attack_ptype) |
template<int Sign> |
static void | adjust (int black, int white, MultiIntPair &result) |
template<bool Plus> |
static void | evalOnePiece (const Player player, const Ptype ptype, const Ptype attack_ptype, bool with_support, MultiIntPair &result) |
template<Player P> |
static void | updateChanged (const NumEffectState &state, const Piece p, Move moved, int captured_number, const CArray< PieceMask, 2 > &effected_mask, const CArray< PieceMask, 2 > &new_mask, CArray< PieceMask, 40 > &attacked_mask, MultiIntPair &result) |
Static Private 変数 |
static CArray< MultiInt, 1024 > | table |
説明
minorPiece.h の 1105 行で定義されています。
列挙型
関数
template<int Sign>
static void osl::eval::ml::NonPawnAttackedPtype::adjust |
( |
int |
black, |
|
|
int |
white, |
|
|
MultiIntPair & |
result | |
|
) |
| | [inline, static, private] |
void osl::eval::ml::NonPawnAttackedPtype::eval |
( |
const NumEffectState & |
state, |
|
|
CArray< PieceMask, 40 > & |
attacked_mask, |
|
|
MultiIntPair & |
out | |
|
) |
| | [static] |
template<bool Plus>
static void osl::eval::ml::NonPawnAttackedPtype::evalOnePiece |
( |
const Player |
player, |
|
|
const Ptype |
ptype, |
|
|
const Ptype |
attack_ptype, |
|
|
bool |
with_support, |
|
|
MultiIntPair & |
result | |
|
) |
| | [inline, static, private] |
template<osl::Player P>
template void osl::eval::ml::NonPawnAttackedPtype::evalWithUpdateBang< WHITE > |
( |
const NumEffectState & |
state, |
|
|
Move |
moved, |
|
|
const CArray< PieceMask, 2 > & |
effected_mask, |
|
|
CArray< PieceMask, 40 > & |
attacked_mask, |
|
|
MultiIntPair & |
last_value_and_out | |
|
) |
| | [inline, static] |
minorPiece.cc の 1505 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::isDrop(), osl::KING, osl::Move::oldPtype(), osl::PAWN, osl::Move::player(), osl::Piece::ptype(), osl::PTYPE_EMPTY, osl::Move::to(), と osl::WHITE.
static int osl::eval::ml::NonPawnAttackedPtype::index |
( |
bool |
same_turn, |
|
|
bool |
has_support, |
|
|
Ptype |
ptype, |
|
|
Ptype |
attack_ptype | |
|
) |
| | [inline, static, private] |
void osl::eval::ml::NonPawnAttackedPtype::setUp |
( |
const Weights & |
weights |
) |
[static] |
template<Player P>
static void osl::eval::ml::NonPawnAttackedPtype::updateChanged |
( |
const NumEffectState & |
state, |
|
|
const Piece |
p, |
|
|
Move |
moved, |
|
|
int |
captured_number, |
|
|
const CArray< PieceMask, 2 > & |
effected_mask, |
|
|
const CArray< PieceMask, 2 > & |
new_mask, |
|
|
CArray< PieceMask, 40 > & |
attacked_mask, |
|
|
MultiIntPair & |
result | |
|
) |
| | [inline, static, private] |
変数
このクラスの説明は次のファイルから生成されました: