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