fixedDepthSolverExt.h
Go to the documentation of this file.
/* fixedDepthSolverExt.h
*/
#ifndef OSL_FIXEDDEPTHSOLVEREXT_H
#define OSL_FIXEDDEPTHSOLVEREXT_H
#include "osl/checkmate/fixedDepthSearcher.h"
namespace osl
{
namespace checkmate
{
class FixedDepthSolverExt : public FixedDepthSearcher
{
public:
FixedDepthSolverExt();
explicit FixedDepthSolverExt(NumEffectState& s);
template <Player P>
const ProofDisproof hasCheckmateMove(int depth, Move& best_move,
PieceStand& proof_pieces);
template <Player P>
const ProofDisproof hasCheckmateWithGuide(int depth, Move& guide,
PieceStand& proof_pieces);
template <Player P>
const ProofDisproof hasEscapeMove(Move last_move,int depth,
PieceStand& proof_pieces);
template <Player P>
const ProofDisproof hasEscapeByMove(Move next_move, int depth,
Move& check_move,
PieceStand& proof_pieces);
const ProofDisproof hasCheckmateMoveOfTurn(int depth,Move& best_move,
PieceStand& proof_pieces);
const ProofDisproof hasCheckmateWithGuideOfTurn(int depth, Move& guide,
PieceStand& proof_pieces);
const ProofDisproof hasEscapeByMoveOfTurn(Move next_move, int depth,
Move& check_move,
PieceStand& proof_pieces);
class SetProofPieces;
};
}
}
#endif /* _FIXEDDEPTHSOLVEREXT_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
osl::Move
圧縮していない moveの表現 .
Definition basic_type.h:1052
osl::NumEffectState
利きを持つ局面
Definition numEffectState.h:34
osl::PieceStand
片方の手番の持駒の枚数を記録するクラス.
Definition bits/pieceStand.h:38
osl::checkmate::FixedDepthSearcher::FixedDepthSearcher
FixedDepthSearcher()
Definition fixedDepthSearcher.h:46
osl::checkmate::FixedDepthSolverExt::hasEscapeByMove
const ProofDisproof hasEscapeByMove(Move next_move, int depth, Move &check_move, PieceStand &proof_pieces)
next_move を指して逃げられるかどうかを調べる
osl::checkmate::FixedDepthSolverExt::hasCheckmateMove
const ProofDisproof hasCheckmateMove(int depth, Move &best_move, PieceStand &proof_pieces)
stateがPから詰む局面かを返す.
osl::checkmate::FixedDepthSolverExt::hasCheckmateWithGuide
const ProofDisproof hasCheckmateWithGuide(int depth, Move &guide, PieceStand &proof_pieces)
guide を最初に試す． guide.isNormal() である必要はあるが，その局面でvalid でなくても良い
osl::checkmate::FixedDepthSolverExt::hasEscapeByMoveOfTurn
const ProofDisproof hasEscapeByMoveOfTurn(Move next_move, int depth, Move &check_move, PieceStand &proof_pieces)
Definition fixedDepthSolverExt.cc:83
osl::checkmate::FixedDepthSolverExt::hasCheckmateMoveOfTurn
const ProofDisproof hasCheckmateMoveOfTurn(int depth, Move &best_move, PieceStand &proof_pieces)
Definition fixedDepthSolverExt.cc:63
osl::checkmate::FixedDepthSolverExt::hasEscapeMove
const ProofDisproof hasEscapeMove(Move last_move, int depth, PieceStand &proof_pieces)
stateがPによって詰んでいる局面かを返す.
osl::checkmate::FixedDepthSolverExt::FixedDepthSolverExt
FixedDepthSolverExt()
Definition fixedDepthSolverExt.cc:37
osl::checkmate::FixedDepthSolverExt::hasCheckmateWithGuideOfTurn
const ProofDisproof hasCheckmateWithGuideOfTurn(int depth, Move &guide, PieceStand &proof_pieces)
Definition fixedDepthSolverExt.cc:73
osl::checkmate::ProofDisproof
証明数(proof number)と反証数(disproof number).
Definition proofDisproof.h:17
fixedDepthSearcher.h
osl::checkmate
Definition king8Info.h:12
osl
Definition additionalEffect.h:6
osl::checkmate::FixedDepthSolverExt::SetProofPieces
Definition fixedDepthSolverExt.cc:7