My Project
fixedDepthSolverExt.h
Go to the documentation of this file.
1 /* fixedDepthSolverExt.h
2  */
3 #ifndef OSL_FIXEDDEPTHSOLVEREXT_H
4 #define OSL_FIXEDDEPTHSOLVEREXT_H
6 
7 namespace osl
8 {
9  namespace checkmate
10  {
12  {
13  public:
16 
21  template <Player P>
22  const ProofDisproof hasCheckmateMove(int depth, Move& best_move,
23  PieceStand& proof_pieces);
28  template <Player P>
29  const ProofDisproof hasCheckmateWithGuide(int depth, Move& guide,
30  PieceStand& proof_pieces);
38  template <Player P>
39  const ProofDisproof hasEscapeMove(Move last_move,int depth,
40  PieceStand& proof_pieces);
46  template <Player P>
47  const ProofDisproof hasEscapeByMove(Move next_move, int depth,
48  Move& check_move,
49  PieceStand& proof_pieces);
50  const ProofDisproof hasCheckmateMoveOfTurn(int depth,Move& best_move,
51  PieceStand& proof_pieces);
52  const ProofDisproof hasCheckmateWithGuideOfTurn(int depth, Move& guide,
53  PieceStand& proof_pieces);
54  const ProofDisproof hasEscapeByMoveOfTurn(Move next_move, int depth,
55  Move& check_move,
56  PieceStand& proof_pieces);
57 
58  class SetProofPieces;
59  };
60  }
61 }
62 
63 
64 #endif /* _FIXEDDEPTHSOLVEREXT_H */
65 // ;;; Local Variables:
66 // ;;; mode:c++
67 // ;;; c-basic-offset:2
68 // ;;; End:
osl::checkmate::FixedDepthSolverExt::hasEscapeMove
const ProofDisproof hasEscapeMove(Move last_move, int depth, PieceStand &proof_pieces)
stateがPによって詰んでいる局面かを返す.
osl::checkmate::FixedDepthSolverExt::hasCheckmateMoveOfTurn
const ProofDisproof hasCheckmateMoveOfTurn(int depth, Move &best_move, PieceStand &proof_pieces)
Definition: fixedDepthSolverExt.cc:63
osl::checkmate::FixedDepthSolverExt::hasCheckmateWithGuide
const ProofDisproof hasCheckmateWithGuide(int depth, Move &guide, PieceStand &proof_pieces)
guide を最初に試す. guide.isNormal() である必要はあるが,その局面でvalid でなくても良い
osl::checkmate::FixedDepthSolverExt::hasEscapeByMove
const ProofDisproof hasEscapeByMove(Move next_move, int depth, Move &check_move, PieceStand &proof_pieces)
next_move を指して逃げられるかどうかを調べる
osl::Move
圧縮していない moveの表現 .
Definition: basic_type.h:1052
osl::checkmate::FixedDepthSolverExt::hasCheckmateMove
const ProofDisproof hasCheckmateMove(int depth, Move &best_move, PieceStand &proof_pieces)
stateがPから詰む局面かを返す.
osl::checkmate::FixedDepthSolverExt
Definition: fixedDepthSolverExt.h:12
fixedDepthSearcher.h
checkmate
osl::checkmate::FixedDepthSolverExt::hasEscapeByMoveOfTurn
const ProofDisproof hasEscapeByMoveOfTurn(Move next_move, int depth, Move &check_move, PieceStand &proof_pieces)
Definition: fixedDepthSolverExt.cc:83
osl::PieceStand
片方の手番の持駒の枚数を記録するクラス.
Definition: bits/pieceStand.h:38
osl::NumEffectState
利きを持つ局面
Definition: numEffectState.h:34
osl::checkmate::FixedDepthSolverExt::hasCheckmateWithGuideOfTurn
const ProofDisproof hasCheckmateWithGuideOfTurn(int depth, Move &guide, PieceStand &proof_pieces)
Definition: fixedDepthSolverExt.cc:73
osl::checkmate::FixedDepthSolverExt::FixedDepthSolverExt
FixedDepthSolverExt()
Definition: fixedDepthSolverExt.cc:37
osl::checkmate::ProofDisproof
証明数(proof number)と反証数(disproof number).
Definition: proofDisproof.h:17
osl::checkmate::FixedDepthSearcher
深さ固定で,その深さまで depth first searchで読む詰将棋.
Definition: fixedDepthSearcher.h:41
osl::checkmate::FixedDepthSolverExt::SetProofPieces
Definition: fixedDepthSolverExt.cc:7
osl
Definition: additionalEffect.h:6