#include <minorPiece.h>
Public 型 | |
enum | { DROP_DIM = PTYPE_SIZE*PTYPE_SIZE, ONE_DIM = DROP_DIM*2*2, DIM = ONE_DIM * EvalStages } |
Static Public メソッド | |
static void | setUp (const Weights &weights) |
template<Player Defense> | |
static MultiIntPair | evalOne (const NumEffectState &state, const CArray< PieceVector, 10 > &pieces, bool has_knight, std::pair< Position, int > &knight_drop) |
static MultiIntPair | eval (const NumEffectState &state, CArray< std::pair< Position, int >, 2 > &knight_drop) |
static bool | isForkPosition (const NumEffectState &state, Player defense, int y, int x0, int x1) |
static int | index (Ptype a, Ptype b) |
Static Public 変数 | |
static CArray< MultiInt, ONE_DIM > | table |
minorPiece.h の 1673 行で定義されています。
anonymous enum |
minorPiece.h の 1676 行で定義されています。
osl::MultiIntPair osl::eval::ml::KnightFork::eval | ( | const NumEffectState & | state, | |
CArray< std::pair< Position, int >, 2 > & | knight_drop | |||
) | [static] |
minorPiece.cc の 2722 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::indexToPlayer(), osl::KNIGHT, osl::LANCE, osl::PAWN, osl::Piece::position(), result, target, osl::WHITE, と osl::Position::y().
参照元 osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), と osl::eval::ml::OpenMidEndingEval::updateSub().
osl::MultiIntPair osl::eval::ml::KnightFork::evalOne | ( | const NumEffectState & | state, | |
const CArray< PieceVector, 10 > & | pieces, | |||
bool | has_knight, | |||
std::pair< Position, int > & | knight_drop | |||
) | [inline, static] |
bool osl::eval::ml::KnightFork::isForkPosition | ( | const NumEffectState & | state, | |
Player | defense, | |||
int | y, | |||
int | x0, | |||
int | x1 | |||
) | [inline, static] |
minorPiece.cc の 2712 行で定義されています。
参照元 evalOne().
void osl::eval::ml::KnightFork::setUp | ( | const Weights & | weights | ) | [static] |
minorPiece.cc の 2648 行で定義されています。
参照先 DROP_DIM, index(), osl::NStages, ONE_DIM, osl::PTYPE_SIZE, table, と osl::eval::ml::Weights::value().
osl::CArray< osl::MultiInt, 256 *2 *2 > osl::eval::ml::KnightFork::table [static] |
minorPiece.h の 1687 行で定義されています。