All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
osl::checkmate::EdgeTable Class Reference

#include <king8Info.h>

Collaboration diagram for osl::checkmate::EdgeTable:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 161 of file king8Info.h.

Constructor & Destructor Documentation

osl::checkmate::EdgeTable::EdgeTable ( )

Member Function Documentation

const King8Info osl::checkmate::EdgeTable::resetEdgeFromLiberty ( Player  king_player,
Square  king,
King8Info  info 
) const
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().

Member Data Documentation

CArray2d<uint64_t, 2, Square::SIZE> osl::checkmate::EdgeTable::edge_mask
private

Definition at line 163 of file king8Info.h.

Referenced by resetEdgeFromLiberty().


The documentation for this class was generated from the following files: