敵の8近傍に利きを付ける. 王手の手は重複を避けるために,なるべく生成しない (意図せずに王手になるのは仕方がない) promote, captureは生成しない. More...
#include <addEffect8.h>
Static Public Member Functions | |
template<class Action > | |
static void | generate (const NumEffectState &state, Action &action) |
敵の8近傍に利きを付ける手の生成. 欲しい仕様は8近傍のどこかにこれまで利きのなかった駒の利きが追加されること. | |
static void | generate (const NumEffectState &state, MoveVector &out) |
template<class Action > | |
static void | generateNotBigDrop (const NumEffectState &state, Action &action) |
大駒のdrop以外 | |
template<class Action > | |
static void | generateBigDrop (const NumEffectState &state, Action &action) |
大駒のdrop |
敵の8近傍に利きを付ける. 王手の手は重複を避けるために,なるべく生成しない (意図せずに王手になるのは仕方がない) promote, captureは生成しない.
P(template) | - 手番の側のプレイヤー |
Definition at line 22 of file addEffect8.h.
void osl::move_generator::AddEffect8< P >::generate | ( | const NumEffectState & | state, |
Action & | action | ||
) | [static] |
敵の8近傍に利きを付ける手の生成. 欲しい仕様は8近傍のどこかにこれまで利きのなかった駒の利きが追加されること.
state | - 対象とする局面 |
action | - 手が存在した時に呼び出すコールバック関数 |
Definition at line 504 of file addEffect8.tcc.
Referenced by osl::move_generator::AddEffect8< P >::generate().
static void osl::move_generator::AddEffect8< P >::generate | ( | const NumEffectState & | state, |
MoveVector & | out | ||
) | [inline, static] |
Definition at line 61 of file addEffect8.h.
References osl::move_generator::AddEffect8< P >::generate(), and store().
template void osl::move_generator::AddEffect8< P >::generateBigDrop | ( | const NumEffectState & | state, |
Action & | action | ||
) | [static] |
大駒のdrop
Definition at line 469 of file addEffect8.tcc.
References target.
Referenced by osl::move_generator::GenerateAddEffect8::generateBigDrop().
template void osl::move_generator::AddEffect8< P >::generateNotBigDrop | ( | const NumEffectState & | state, |
Action & | action | ||
) | [static] |
大駒のdrop以外
Definition at line 484 of file addEffect8.tcc.
References target.
Referenced by osl::move_generator::GenerateAddEffect8::generateNotBigDrop().