osl::eval::SelectSafePieces< P > Struct Template Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:

- pieceEval.tcc