#include <king8Info.h>
Public Member Functions | |
EdgeTable () | |
const King8Info | resetEdgeFromLiberty (Player king_player, Square king, King8Info info) const |
liberty から盤の淵(xかyが1か9)を取り除く. More... | |
Private Attributes | |
CArray2d< uint64_t, 2, Square::SIZE > | edge_mask |
Definition at line 161 of file king8Info.h.
osl::checkmate::EdgeTable::EdgeTable | ( | ) |
Definition at line 170 of file king8Info.cc.
References osl::BLACK, osl::Board_Table, osl::DIRECTION_MIN, osl::BoardTable::getOffset(), osl::Square::index(), osl::SHORT8_DIRECTION_MAX, osl::WHITE, osl::Square::x(), and osl::Square::y().
|
inline |
liberty から盤の淵(xかyが1か9)を取り除く.
libertyCount()==0になっても詰みとは限らない
Definition at line 171 of file king8Info.h.
References count, osl::misc::BitOp::countBit(), edge_mask, osl::Square::index(), and osl::checkmate::King8Info::uint64Value().
Referenced by osl::checkmate::FixedDepthSearcher::attack(), and osl::checkmate::Dfpn::attack().
|
private |
Definition at line 163 of file king8Info.h.
Referenced by resetEdgeFromLiberty().