|
My Project
|
#include <mask.h>
Static Public Member Functions | |
| template<class Integer> | |
| static int | bsf (Integer mask) |
| template<class Integer> | |
| static int | bsr (Integer mask) |
| template<class Integer> | |
| static int | takeOneBit (Integer &mask) |
| template<class Integer> | |
| static int | countBit (Integer mask) |
| template<class Integer> | |
| static bool | hasMultipleBit (Integer mask) |
| template<class Integer> | |
| static Integer | lowestBit (Integer mask) |
| non-zeroのmaskのsetされているビットをLSBから探し,そのビットだけがsetされたmaskを返す. | |
|
inlinestatic |
Definition at line 138 of file mask.h.
Referenced by osl::move_probability::StateInfo::findCheckmateDefender(), osl::move_probability::AddEffectLong::match(), osl::move_probability::KingBlockade::match(), takeOneBit(), and osl::move_probability::StateInfo::updatePinnedGenerals().
|
inlinestatic |
|
inlinestatic |
Definition at line 160 of file mask.h.
Referenced by osl::PieceStand::atMostOneKind(), osl::checkmate::Dfpn::attack(), osl::checkmate::ProofNumberTable::countLiberty(), osl::checkmate::Dfpn::defense(), osl::checkmate::ProofNumberTable::disproofAfterAllCheck(), osl::checkmate::ProofNumberTable::init(), osl::checkmate::EdgeTable::resetEdgeFromLiberty(), and osl::checkmate::DfpnTable::List::testTable().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 148 of file mask.h.
References bsf().
Referenced by osl::effect_util::SendOffSquare::Table::init(), and osl::effect_util::SendOffSquare::unpack().