osl::checkmate::ProofPiecesUtil Struct Reference

ProofPieces と DisproofPieces に共通の関数 More...

`#include <proofPiecesUtil.h>`

## Static Public Member Functions

static void | addMonopolizedPieces (const SimpleState &state, Player player, const PieceStand max, PieceStand &out)
| alt(player) が持っていない種類の持駒を playerが持っていたら out に独占分を加算する．

## Detailed Description

ProofPieces と DisproofPieces に共通の関数

Definition at line 16 of file proofPiecesUtil.h.

## Member Function Documentation

## addMonopolizedPieces()

void osl::checkmate::ProofPiecesUtil::addMonopolizedPieces | ( | const SimpleState & | state,
|  | Player | player,
|  | const PieceStand | max,
|  | PieceStand & | out )

inline static

alt(player) が持っていない種類の持駒を playerが持っていたら out に独占分を加算する．

Definition at line 23 of file proofPiecesUtil.h.

References osl::PieceStand::add(), osl::alt(), osl::PieceStand::get(), osl::SimpleState::hasPieceOnStand(), and osl::PieceStand::order.

Referenced by osl::checkmate::FixedDepthSolverExt::SetProofPieces::addMonopolizedPieces(), osl::checkmate::DisproofPieces::leaf(), osl::checkmate::ProofPieces::leaf(), osl::checkmate::Dfpn::Node::setCheckmateDefense(), and osl::checkmate::Dfpn::Node::setNoCheckmateAttack().

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

- proofPiecesUtil.h