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¤Î¼ïÎà¤Ë¤è¤Ã¤Æ¤Ï¹â®¤Ëµá¤Þ¤ë¤«¤â¤·¤ì¤Ê¤¤
offset¤«¤éshort¤òµá¤á¤ë
knight move¤Ï0¤Ë¤·¤¿¤¤¤¬¡¤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.
1.5.6