#include <directCheck.h>
Static Public メソッド | |
static bool | isMember (const NumEffectState &state, Ptype ptype, Square to) |
template<class State > | |
static bool | isMember (const State &state, Ptype ptype, Square, Square to) |
directCheck.h の 13 行で定義されています。
static bool osl::move_classifier::DirectCheck< P >::isMember | ( | const NumEffectState & | state, | |
Ptype | ptype, | |||
Square | to | |||
) | [inline, static] |
最初から王手ということはない.
stateを動かしていないので,fromにある駒がtoからの利きを blockすることは あるが,blockされた利きが王手だったとすると,動かす前から王手 だったとして矛盾するのでOK
directCheck.h の 15 行で定義されています。
参照先 osl::alt(), osl::NumEffectState::hasEffectIf(), と osl::newPtypeO().
static bool osl::move_classifier::DirectCheck< P >::isMember | ( | const State & | state, | |
Ptype | ptype, | |||
Square | , | |||
Square | to | |||
) | [inline, static] |
directCheck.h の 32 行で定義されています。