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

  Action | move_action

Definition at line 15 of file allMoves.h.

## Member Function Documentation

## generate() [1/2]

template<class Action>
template<Player P>

void osl::move_generator::AllMoves< Action >::generate | ( | const NumEffectState & | state,
|  | Action & | action )

static

Parameters

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

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

## generate() [2/2]

template<class Action>

void osl::move_generator::AllMoves< Action >::generate | ( | Player | p,
|  | const NumEffectState & | state,
|  | Action & | action )

inline static

Definition at line 34 of file allMoves.h.

References osl::BLACK, and generate().

## generateOnBoard()

template<class Action>
template<Player P>

void osl::move_generator::AllMoves< Action >::generateOnBoard | ( | const NumEffectState & | state,
|  | Action & | action )

static

Parameters

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

Referenced by osl::GenerateAllMoves::generateOnBoard().

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

- allMoves.h