All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
osl::eval::SelectSafePieces< P > Struct Template Reference

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

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 
)
inlinestatic

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 
)
inlinestatic
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: