All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
osl::move_classifier::DirectCheck< P > Struct Template Reference

#include <directCheck.h>

List of all members.

Static Public Member Functions

static bool isMember (const NumEffectState &state, Ptype ptype, Square to)
template<class State >
static bool isMember (const State &state, Ptype ptype, Square, Square to)

Detailed Description

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

Definition at line 14 of file directCheck.h.


Member Function Documentation

template<Player P>
static bool osl::move_classifier::DirectCheck< P >::isMember ( const NumEffectState &  state,
Ptype  ptype,
Square  to 
) [inline, static]

最初から王手ということはない.

stateを動かしていないので,fromにある駒がtoからの利きを blockすることは あるが,blockされた利きが王手だったとすると,動かす前から王手 だったとして矛盾するのでOK

Definition at line 16 of file directCheck.h.

References osl::newPtypeO().

Referenced by osl::move_classifier::DirectCheck< P >::isMember().

template<Player P>
template<class State >
static bool osl::move_classifier::DirectCheck< P >::isMember ( const State state,
Ptype  ptype,
Square  ,
Square  to 
) [inline, static]

Definition at line 33 of file directCheck.h.

References osl::move_classifier::DirectCheck< P >::isMember().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines