All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Private Member Functions
osl::move_generator::AllMoves< Action > Class Template Reference

Move::ignoreUnpromote() でないすべての手を生成 More...

#include <allMoves.h>

List of all members.

Static Public Member Functions

template<Player P>
static void generateOnBoard (const NumEffectState &state, Action &action)
 すべての手を生成する
template<Player P>
static void generate (const NumEffectState &state, Action &action)
 すべての手を生成する
static void generate (Player p, const NumEffectState &state, Action &action)

Private Member Functions

 BOOST_CLASS_REQUIRE (Action, osl::move_action, Concept)

Detailed Description

template<class Action>
class osl::move_generator::AllMoves< Action >

Move::ignoreUnpromote() でないすべての手を生成

Parameters:
Actionmove_action

Definition at line 23 of file allMoves.h.


Member Function Documentation

template<class Action>
osl::move_generator::AllMoves< Action >::BOOST_CLASS_REQUIRE ( Action  ,
osl::move_action  ,
Concept   
) [private]
template<class Action >
template<Player P>
void osl::move_generator::AllMoves< Action >::generate ( const NumEffectState &  state,
Action &  action 
) [static]

すべての手を生成する

Parameters:
P- 手番のプレイヤ state - 手を生成する局面.王手がかかっていないことを想定 action - 手正成用のcallback

Definition at line 61 of file allMoves.tcc.

template<class Action>
static void osl::move_generator::AllMoves< Action >::generate ( Player  p,
const NumEffectState &  state,
Action &  action 
) [inline, static]

Definition at line 43 of file allMoves.h.

References osl::BLACK.

template<class Action >
template<Player P>
void osl::move_generator::AllMoves< Action >::generateOnBoard ( const NumEffectState &  state,
Action &  action 
) [static]

すべての手を生成する

Parameters:
P- 手番のプレイヤ state - 手を生成する局面.王手がかかっていないことを想定 action - 手正成用のcallback

Definition at line 43 of file allMoves.tcc.


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