All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
osl::eval::SelectSafePieces< P > Struct Template Reference

安全な指手を選ぶ. More...

List of all members.

Static Public Member Functions

static void select (const NumEffectState &state, Square target, const PtypeOSquareVector &src, PtypeOSquareVector &out)
static void select (const NumEffectState &state, Square target, const PtypeOSquareVector &src, PtypeOSquareVector &out, Square except_for)

Detailed Description

template<Player P>
struct osl::eval::SelectSafePieces< P >

安全な指手を選ぶ.

単純な素抜きは考慮するが正確ではない

Parameters:
P指手を指すプレイヤ

Definition at line 20 of file pieceEval.tcc.


Member Function Documentation

template<Player P>
static void osl::eval::SelectSafePieces< P >::select ( const NumEffectState &  state,
Square  target,
const PtypeOSquareVector &  src,
PtypeOSquareVector &  out 
) [inline, static]

Definition at line 22 of file pieceEval.tcc.

References osl::getOwner(), osl::getPtype(), and osl::KING.

template<Player P>
static void osl::eval::SelectSafePieces< P >::select ( const NumEffectState &  state,
Square  target,
const PtypeOSquareVector &  src,
PtypeOSquareVector &  out,
Square  except_for 
) [inline, static]
Parameters:
exceptForここからの利きは除外

Definition at line 42 of file pieceEval.tcc.

References osl::getOwner(), osl::getPtype(), and osl::KING.


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