クラス osl::checkmate::ImmediateCheckmate

#include <immediateCheckmate.h>

すべてのメンバ一覧

Static Public メソッド

template<Player P, bool setBestMove>
static bool slowHasCheckmateMoveDirPiece (NumEffectState const &state, Position target, King8Info mask, Direction d, Position pos, Piece p, Ptype ptype, Move &bestMove)
template<Player P, bool setBestMove>
static bool hasCheckmateMoveDirPiece (NumEffectState const &state, Position target, King8Info mask, Direction d, Position pos, Piece p, Move &bestMove)
template<Player P, bool setBestMove>
static bool hasCheckmateMoveDir (NumEffectState const &state, Position target, King8Info mask, Direction d, Move &bestMove)
template<Player P, bool setBestMove>
static bool hasCheckmateMove (NumEffectState const &state, Position target, King8Info mask, Move &bestMove)
template<Player P>
static bool hasCheckmateMove (NumEffectState const &state)
 一手詰めがある局面かどうか判定(move).
template<Player P>
static bool hasCheckmateMove (NumEffectState const &state, King8Info)
template<Player P>
static bool hasCheckmateMove (NumEffectState const &state, Move &bestMove)
 一手詰めがある局面かどうか判定(move).
template<Player P>
static bool hasCheckmateMove (NumEffectState const &state, King8Info canMoveMask, Position king, Move &bestMove)
static bool hasCheckmateMove (Player pl, NumEffectState const &state)
static bool hasCheckmateMove (Player pl, NumEffectState const &state, Move &bestMove)

Static Private メソッド

template<Player P, bool setBestMove>
static bool hasCheckmateDrop (NumEffectState const &state, Position target, King8Info mask, Move &bestMove)

説明

immediateCheckmate.h13 行で定義されています。


関数

template<osl::Player P, bool setBestMove>
bool osl::checkmate::ImmediateCheckmate::hasCheckmateDrop ( NumEffectState const &  state,
Position  target,
King8Info  mask,
Move bestMove 
) [inline, static, private]
bool osl::checkmate::ImmediateCheckmate::hasCheckmateMove ( Player  pl,
NumEffectState const &  state,
Move bestMove 
) [static]

immediateCheckmate.cc44 行で定義されています。

参照先 osl::BLACK.

bool osl::checkmate::ImmediateCheckmate::hasCheckmateMove ( Player  pl,
NumEffectState const &  state 
) [static]

immediateCheckmate.cc35 行で定義されています。

参照先 osl::BLACK.

template<osl::Player P>
template bool osl::checkmate::ImmediateCheckmate::hasCheckmateMove< WHITE > ( NumEffectState const &  state,
King8Info  canMoveMask,
Position  king,
Move bestMove 
) [inline, static]

immediateCheckmate.tcc421 行で定義されています。

参照先 osl::Position::isOnBoard().

template<osl::Player P>
template bool osl::checkmate::ImmediateCheckmate::hasCheckmateMove< WHITE > ( NumEffectState const &  state,
Move bestMove 
) [inline, static]

一手詰めがある局面かどうか判定(move).

手番の側に王手がかかっている場合は除く 長い利きによる王手は生成しない. pinされている駒の利きがないために詰みになる例も扱わない.

引数:
P(template) - 攻撃側(手番側)のプレイヤー
state - 局面
best_move - ある場合に詰めの手を返す

immediateCheckmate.tcc434 行で定義されています。

参照先 target.

template<osl::Player P>
bool osl::checkmate::ImmediateCheckmate::hasCheckmateMove ( NumEffectState const &  state,
King8Info  canMoveMask 
) [inline, static]

immediateCheckmate.tcc396 行で定義されています。

参照先 osl::Position::isOnBoard(), と target.

template<osl::Player P>
template bool osl::checkmate::ImmediateCheckmate::hasCheckmateMove< WHITE > ( NumEffectState const &  state  )  [inline, static]

一手詰めがある局面かどうか判定(move).

手番の側に王手がかかっている場合は除く 長い利きによる王手は生成しない. pinされている駒の利きがないために詰みになる例も扱わない.

引数:
P(template) - 攻撃側(手番側)のプレイヤー
state - 局面

immediateCheckmate.tcc410 行で定義されています。

参照先 osl::Position::isOnBoard(), と target.

template<osl::Player P, bool setBestMove>
bool osl::checkmate::ImmediateCheckmate::hasCheckmateMove ( NumEffectState const &  state,
Position  target,
King8Info  mask,
Move bestMove 
) [inline, static]

immediateCheckmate.tcc381 行で定義されています。

参照先 osl::checkmate::King8Info::value.

template<osl::Player P, bool setBestMove>
bool osl::checkmate::ImmediateCheckmate::hasCheckmateMoveDir ( NumEffectState const &  state,
Position  target,
King8Info  mask,
Direction  d,
Move bestMove 
) [inline, static]
template<osl::Player P, bool setBestMove>
bool osl::checkmate::ImmediateCheckmate::hasCheckmateMoveDirPiece ( NumEffectState const &  state,
Position  target,
King8Info  mask,
Direction  d,
Position  pos,
Piece  p,
Move bestMove 
) [inline, static]
template<osl::Player P, bool setBestMove>
bool osl::checkmate::ImmediateCheckmate::slowHasCheckmateMoveDirPiece ( NumEffectState const &  state,
Position  target,
King8Info  mask,
Direction  d,
Position  pos,
Piece  p,
Ptype  ptype,
Move bestMove 
) [inline, static]

このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:57:55 2010に生成されました。  doxygen 1.6.3