My Project
|
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 に独占分を加算する. | |
ProofPieces と DisproofPieces に共通の関数
Definition at line 16 of file proofPiecesUtil.h.
|
inlinestatic |
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::ProofPieces::leaf(), osl::checkmate::DisproofPieces::leaf(), osl::checkmate::Dfpn::Node::setCheckmateDefense(), and osl::checkmate::Dfpn::Node::setNoCheckmateAttack().