All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
osl::move_generator::Promote< P, NoCapture > Class Template Reference

成る手を生成. More...

#include <promote_.h>

List of all members.

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)

Detailed Description

template<Player P, bool NoCapture = true>
class osl::move_generator::Promote< P, NoCapture >

成る手を生成.

生成される手はunique 自殺手のチェックはしないので,後で修正する?

Parameters:
noCapture- trueの時は駒を取る手は生成しない(取る手は別に生成される可能性が高いので)

Definition at line 18 of file promote_.h.


Member Function Documentation

template<Player P, bool NoCapture = true>
static void osl::move_generator::Promote< P, NoCapture >::generate ( const NumEffectState &  state,
MoveVector &  out 
) [inline, static]
template<Player P, bool NoCapture = true>
template<class Action >
static void osl::move_generator::Promote< P, NoCapture >::generateMoves ( const NumEffectState &  state,
Action &  action 
) [static]
template<Player P, bool NoCapture = true>
template<class Action >
void osl::move_generator::Promote< P, NoCapture >::generateMoves ( const NumEffectState &  state,
Action &  action 
)

Definition at line 201 of file promote_.tcc.

template<Player P, bool NoCapture = true>
template<class Action , Ptype T>
static void osl::move_generator::Promote< P, NoCapture >::generateMovesPtype ( const NumEffectState &  state,
Action &  action 
) [static]
template<Player P, bool NoCapture = true>
template<class Action , Ptype T>
void osl::move_generator::Promote< P, NoCapture >::generateMovesPtype ( const NumEffectState &  state,
Action &  action 
)

Definition at line 192 of file promote_.tcc.

template<Player P, bool NoCapture = true>
template<Ptype T>
static void osl::move_generator::Promote< P, NoCapture >::generatePtype ( const NumEffectState &  state,
MoveVector &  out 
) [inline, static]

Definition at line 24 of file promote_.h.

References osl::effect_action::Promote< Action >::state, and store().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines