Public 型 | Static Public メソッド | Static Public 変数 | Static Private メソッド

クラス osl::eval::ml::BishopRookFork

#include <minorPiece.h>

osl::eval::ml::BishopRookForkのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

Public 型

enum  { DROP_DIM = PTYPE_SIZE*PTYPE_SIZE, ONE_DIM = 2*DROP_DIM*2, DIM = ONE_DIM * EvalStages }

Static Public メソッド

static const Square isBishopForkSquare (const NumEffectState &state, Player defense, const Square a, const Square b, bool maybe_empty=false)
static const Square isRookForkSquare (const NumEffectState &state, Player defense, const Square a, const Square b)
static int bishopIndex (Ptype a, Ptype b)
static int rookIndex (Ptype a, Ptype b)
static void setUp (const Weights &weights)
template<Player Defense>
static MultiIntPair evalOne (const NumEffectState &state, const PieceVector &target, std::pair< Square, int > &bishop_drop, std::pair< Square, int > &rook_drop)
static MultiIntPair eval (const NumEffectState &state, CArray< std::pair< Square, int >, 2 > &bishop_drop, CArray< std::pair< Square, int >, 2 > &rook_drop)

Static Public 変数

static CArray< MultiInt, ONE_DIM > table

Static Private メソッド

static const Square findDropInLine (const NumEffectState &state, Player defense, const Square a, const Square b, Piece king)
static bool testCenter (const NumEffectState &state, Player defense, const Square a, const Square b, Piece king, Square center, bool maybe_empty=false)

説明

minorPiece.h1638 行で定義されています。


列挙型

anonymous enum
列挙型の値:
DROP_DIM 
ONE_DIM 
DIM 

minorPiece.h1641 行で定義されています。


関数

static int osl::eval::ml::BishopRookFork::bishopIndex ( Ptype  a,
Ptype  b 
) [inline, static]

minorPiece.h1647 行で定義されています。

参照先 osl::PTYPE_SIZE.

参照元 evalOne(), rookIndex(), と setUp().

osl::MultiIntPair osl::eval::ml::BishopRookFork::eval ( const NumEffectState state,
CArray< std::pair< Square, int >, 2 > &  bishop_drop,
CArray< std::pair< Square, int >, 2 > &  rook_drop 
) [static]
template<osl::Player Defense>
osl::MultiIntPair osl::eval::ml::BishopRookFork::evalOne ( const NumEffectState state,
const PieceVector target,
std::pair< Square, int > &  bishop_drop,
std::pair< Square, int > &  rook_drop 
) [static]
const osl::Square osl::eval::ml::BishopRookFork::findDropInLine ( const NumEffectState state,
Player  defense,
const Square  a,
const Square  b,
Piece  king 
) [inline, static, private]
const osl::Square osl::eval::ml::BishopRookFork::isBishopForkSquare ( const NumEffectState state,
Player  defense,
const Square  a,
const Square  b,
bool  maybe_empty = false 
) [static]
const osl::Square osl::eval::ml::BishopRookFork::isRookForkSquare ( const NumEffectState state,
Player  defense,
const Square  a,
const Square  b 
) [inline, static]
static int osl::eval::ml::BishopRookFork::rookIndex ( Ptype  a,
Ptype  b 
) [inline, static]

minorPiece.h1648 行で定義されています。

参照先 bishopIndex().

参照元 evalOne(), と setUp().

void osl::eval::ml::BishopRookFork::setUp ( const Weights weights  )  [static]
bool osl::eval::ml::BishopRookFork::testCenter ( const NumEffectState state,
Player  defense,
const Square  a,
const Square  b,
Piece  king,
Square  center,
bool  maybe_empty = false 
) [inline, static, private]

変数

minorPiece.h1657 行で定義されています。

参照元 evalOne(), と setUp().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義