成る手を生成. More...
#include <promote_.h>
Public Member Functions | |
template<class Action , Ptype T> | |
void | generateMovesPtype (const NumEffectState &state, Action &action) |
template<class Action > | |
void | generateMoves (const NumEffectState &state, Action &action) |
Static Public Member Functions | |
template<class Action , Ptype T> | |
static void | generateMovesPtype (const NumEffectState &state, Action &action) |
template<Ptype T> | |
static void | generatePtype (const NumEffectState &state, MoveVector &out) |
template<class Action > | |
static void | generateMoves (const NumEffectState &state, Action &action) |
static void | generate (const NumEffectState &state, MoveVector &out) |
成る手を生成.
生成される手はunique 自殺手のチェックはしないので,後で修正する?
noCapture | - trueの時は駒を取る手は生成しない(取る手は別に生成される可能性が高いので) |
Definition at line 18 of file promote_.h.
|
inlinestatic |
Definition at line 32 of file promote_.h.
References osl::move_generator::Promote< P, NoCapture >::generateMoves(), and store().
|
static |
Referenced by osl::move_generator::Promote< P, NoCapture >::generate().
void osl::move_generator::Promote< P, NoCapture >::generateMoves | ( | const NumEffectState & | state, |
Action & | action | ||
) |
Definition at line 201 of file promote_.tcc.
|
static |
void osl::move_generator::Promote< P, NoCapture >::generateMovesPtype | ( | const NumEffectState & | state, |
Action & | action | ||
) |
Definition at line 192 of file promote_.tcc.
|
inlinestatic |
Definition at line 24 of file promote_.h.
References osl::effect_action::Promote< Action >::state, and store().