#include <king8Info.h>
Public メソッド | |
King8Info (unsigned int v) | |
unsigned int | dropCandidate () const |
0-7 bit ܤ֤ | |
unsigned int | liberty () const |
8-15 bit ܤ 0-7bitshift֤ | |
unsigned int | libertyCount () const |
unsigned int | libertyDropMask () const |
0-15bit | |
unsigned int | libertyCandidate () const |
16-23 bit ܤ 0-7bitshift֤ | |
unsigned int | moveCandidate () const |
24-31 bit ܤ 0-7bitshift֤ | |
Static Public メソッド | |
template<Player P> | |
static const King8Info | make (NumEffectState const &state, Position king, PieceMask pinned) |
template<Player P> | |
static const King8Info | make (NumEffectState const &state, Position king) |
static const King8Info | make (Player attack, NumEffectState const &state) |
alt(attack) king ˤĤƷ | |
static const King8Info | makeWithPin (Player attack, NumEffectState const &state, const PieceMask &pinned) |
alt(attack) king ˤĤƷ. | |
Public 変数 | |
unsigned int | value |
Static Private メソッド | |
template<Player P, Direction Dir> | |
static unsigned int | hasEffectMask (NumEffectState const &state, Position target, PieceMask pinned) |
alt(P)ζ̤DircanMoveMask. |
Dirζ̤ФDirDz 0-7 : Ṵ̃ʳʤʬ (ǤĸȤʤꤦ) 8-15 : Ṳ̃Dir˰ưǽ 16-23 : ̣ζ(Ǥϰưǽˤʤ) 24-31 : Ṵ̃ʳʤʬ2İʾ夢Ũ (ưȤʤꤦ)
king8Info.h の 23 行で定義されています。
osl::checkmate::King8Info::King8Info | ( | unsigned int | v | ) | [inline, explicit] |
const osl::checkmate::King8Info osl::checkmate::King8Info::make | ( | NumEffectState const & | state, | |
Position | king, | |||
PieceMask | pinned | |||
) | [inline, static] |
const osl::checkmate::King8Info osl::checkmate::King8Info::make | ( | NumEffectState const & | state, | |
Position | king | |||
) | [inline, static] |
const osl::checkmate::King8Info osl::checkmate::King8Info::make | ( | Player | attack, | |
NumEffectState const & | state | |||
) | [static] |
const osl::checkmate::King8Info osl::checkmate::King8Info::makeWithPin | ( | Player | attack, | |
NumEffectState const & | state, | |||
const PieceMask & | pinned | |||
) | [static] |
alt(attack) king ˤĤƷ.
pin˵ޤäƤ
king8Info.cc の 130 行で定義されています。
参照先 osl::alt(), と osl::BLACK.
参照元 osl::search::QuiescenceRecord::makeKing8InfoInLock(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), と osl::search::QuiescenceSearch< EvalT >::searchMain().
unsigned int osl::checkmate::King8Info::dropCandidate | ( | ) | const [inline] |
0-7 bit ܤ֤
king8Info.h の 42 行で定義されています。
参照先 value.
参照元 osl::checkmate::ProofNumberTable::disproofAfterAllCheck(), と osl::checkmate::operator<<().
unsigned int osl::checkmate::King8Info::liberty | ( | ) | const [inline] |
8-15 bit ܤ 0-7bitshift֤
king8Info.h の 47 行で定義されています。
参照先 value.
参照元 osl::checkmate::ProofNumberTable::countLiberty(), osl::checkmate::ProofNumberTable::countLibertyLong(), osl::checkmate::ProofNumberTable::countLibertyShortNotKnight(), osl::checkmate::ProofNumberTable::libertyAfterAllMove(), libertyCount(), osl::checkmate::operator<<(), osl::checkmate::ImmediateCheckmateTable::ptypeDropMask(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), と osl::search::QuiescenceSearch< EvalT >::searchMain().
unsigned int osl::checkmate::King8Info::libertyCount | ( | ) | const [inline] |
unsigned int osl::checkmate::King8Info::libertyDropMask | ( | ) | const [inline] |
0-15bit
king8Info.h の 56 行で定義されています。
参照先 value.
参照元 osl::checkmate::ImmediateCheckmateTable::dropMask(), と osl::checkmate::ProofNumberTable::libertyAfterAllDrop().
unsigned int osl::checkmate::King8Info::libertyCandidate | ( | ) | const [inline] |
unsigned int osl::checkmate::King8Info::moveCandidate | ( | ) | const [inline] |
24-31 bit ܤ 0-7bitshift֤
king8Info.h の 66 行で定義されています。
参照先 value.
参照元 osl::checkmate::ProofNumberTable::disproofAfterAllCheck(), osl::checkmate::ProofNumberTable::libertyAfterAllMove(), と osl::checkmate::operator<<().
unsigned int osl::checkmate::King8Info::hasEffectMask | ( | NumEffectState const & | state, | |
Position | target, | |||
PieceMask | pinned | |||
) | [inline, static, private] |
alt(P)ζ̤DircanMoveMask.
P(template) | - ¦player | |
Dir(template) | - Ṳ̃(short8) | |
state | - | |
target | - alt(P)ζ̤potision |
king8Info.cc の 56 行で定義されています。
参照先 osl::Piece::canMoveOn(), osl::hasEffect(), osl::Piece::isEdge(), と osl::Piece::isEmpty().
unsigned int osl::checkmate::King8Info::value |
king8Info.h の 25 行で定義されています。
参照元 osl::checkmate::detail::blockingDiagonalAttack(), dropCandidate(), osl::checkmate::ImmediateCheckmate::hasCheckmateMove(), osl::checkmate::ImmediateCheckmate::hasCheckmateMoveDirPiece(), osl::checkmate::detail::hasCheckmateMoveKnight(), liberty(), libertyCandidate(), libertyDropMask(), moveCandidate(), osl::checkmate::detail::slowCheckDrop(), と osl::checkmate::ImmediateCheckmate::slowHasCheckmateMoveDirPiece().