All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
osl::move_classifier::Check< P > Struct Template Reference

#include <check_.h>

Static Public Member Functions

static bool isMember (const NumEffectState &state, Ptype ptype, Square from, Square to)
 promote move の時 ptypeはpromote後のもの More...
 

Detailed Description

template<Player P>
struct osl::move_classifier::Check< P >

Parameters
指す側,alt(P)に王手をかけられるか判定

Definition at line 15 of file check_.h.

Member Function Documentation

template<Player P>
static bool osl::move_classifier::Check< P >::isMember ( const NumEffectState &  state,
Ptype  ptype,
Square  from,
Square  to 
)
inlinestatic

promote move の時 ptypeはpromote後のもの

Definition at line 20 of file check_.h.

References osl::move_classifier::OpenCheck< P >::isMember(), and osl::Square::isPieceStand().

Referenced by osl::checkmate::FixedDepthSearcher2::attack(), and osl::checkmate::FixedDepthSearcher::attack().


The documentation for this struct was generated from the following file: