#include <directCheck.h>
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) |
Definition at line 14 of file directCheck.h.
|
inlinestatic |
最初から王手ということはない.
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().
|
inlinestatic |
Definition at line 33 of file directCheck.h.
References osl::move_classifier::DirectCheck< P >::isMember().