構造体 テンプレート osl::move_classifier::TrapRook< P >

#include <trapRook.h>

すべてのメンバ一覧

Static Public メソッド

static bool isMember (const NumEffectState &state, Ptype ptype, Position from, Position to)

Static Private メソッド

template<Direction Dir>
static bool testDirection (const NumEffectState &state, Position initial)

説明

template<Player P>
struct osl::move_classifier::TrapRook< P >

引数:
指す側 alt(P)の飛車を封じ込める(のに結構な確率で貢献する)手かどうか

trapRook.h15 行で定義されています。


関数

template<osl::Player P>
bool osl::move_classifier::TrapRook< P >::isMember ( const NumEffectState &  state,
Ptype  ptype,
Position  from,
Position  to 
) [inline, static]
template<osl::Player P>
template<osl::Direction Dir>
bool osl::move_classifier::TrapRook< P >::testDirection ( const NumEffectState &  state,
Position  initial 
) [inline, static, private]

trapRook.cc9 行で定義されています。

参照先 osl::Piece::canMoveOn(), osl::Piece::isEmpty(), と osl::Piece::isOnBoardByOwner().


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