My Project
Static Public Member Functions | List of all members
osl::move_generator::AllMoves< Action > Class Template Reference

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

#include <allMoves.h>

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)
 

Detailed Description

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

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

Parameters
Actionmove_action

Definition at line 15 of file allMoves.h.

Member Function Documentation

◆ generate() [1/2]

template<class Action >
template<Player P>
static void osl::move_generator::AllMoves< Action >::generate ( const NumEffectState state,
Action &  action 
)
static
Parameters
P- 手番のプレイヤ state - 手を生成する局面.王手がかかっていないことを想定 action - 手正成用のcallback

Referenced by osl::GenerateAllMoves::generate(), and osl::NumEffectState::generateAllUnsafe().

◆ generate() [2/2]

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

Definition at line 34 of file allMoves.h.

References osl::BLACK.

◆ generateOnBoard()

template<class Action >
template<Player P>
static void osl::move_generator::AllMoves< Action >::generateOnBoard ( const NumEffectState state,
Action &  action 
)
static
Parameters
P- 手番のプレイヤ state - 手を生成する局面.王手がかかっていないことを想定 action - 手正成用のcallback

The documentation for this class was generated from the following file: