Static Public メソッド | |
template<class State, Player P> | |
static void | findEffectPieces (const State &state, Position effect_to, PtypeOPositionVector &my_pieces, PtypeOPositionVector &op_pieces) |
effectTo Τƽ | |
template<class State, Player P> | |
static void | findEffectPiecesAfterMove (const State &state, Move move, PtypeOPositionVector &my_pieces, PtypeOPositionVector &op_pieces) |
move move.to() Τƽ | |
template<Player P> | |
static int | computeValue (Position target, PtypeO ptypeO, const PtypeOPositionVector &my_pieces, const PtypeOPositionVector &op_pieces) |
PtypeOPositionVector Ȥ˼֤ͤ |
pieceEval.tcc の 64 行で定義されています。
static void osl::eval::TakeBackValue::findEffectPiecesAfterMove | ( | const State & | state, | |
Move | move, | |||
PtypeOPositionVector & | my_pieces, | |||
PtypeOPositionVector & | op_pieces | |||
) | [inline, static] |
move move.to() Τƽ
ʬ effectμˤäƤϹ®˵ޤ뤫⤷ʤ
offsetshort
knight move0ˤBoard_TableˤбΤϤʤ
pieceEval.tcc の 84 行で定義されています。
参照先 osl::Board_Table, osl::dirToMask(), osl::Move::from(), osl::BoardTable::getLongDirection(), osl::PtypeTable::getMoveMask(), osl::BoardTable::getShortOffsetNotKnight(), osl::Piece::isOnBoardByOwner(), osl::Piece::ptype(), osl::Ptype_Table, osl::Move::to(), と osl::Offset::zero().
static int osl::eval::TakeBackValue::computeValue | ( | Position | target, | |
PtypeO | ptypeO, | |||
const PtypeOPositionVector & | my_pieces, | |||
const PtypeOPositionVector & | op_pieces | |||
) | [inline, static] |
PtypeOPositionVector Ȥ˼֤ͤ
FIXME: Фɤ PtypeOPositionVector PtypeO,Position Υ٥ѹɬפ롥 computeDiffAfterMoveMulti ʤɤǶưˡ move μ礤ͤƤˡpiece.position() ɬ 礤Τposition ǤϤʤᡥ
P | alt(P) μ֤ | |
target | ˴ؤ֤ | |
ptypeo | target ˤꤵ |
pieceEval.tcc の 149 行で定義されています。
参照先 osl::Position::canPromote(), osl::canPromote(), osl::eval::PtypeEvalTable::captureValue(), osl::eval::max(), osl::promote(), osl::eval::PtypeEvalTable::promoteValue(), と osl::eval::Ptype_Eval_Table.