クラス osl::eval::ml::KnightFork

#include <minorPiece.h>

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

すべてのメンバ一覧

Public 型

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

Static Public メソッド

static void setUp (const Weights &weights)
template<Player Defense>
static MultiIntPair evalOne (const NumEffectState &state, const CArray< PieceVector, 10 > &pieces, bool has_knight, std::pair< Position, int > &knight_drop)
static MultiIntPair eval (const NumEffectState &state, CArray< std::pair< Position, int >, 2 > &knight_drop)
static bool isForkPosition (const NumEffectState &state, Player defense, int y, int x0, int x1)
static int index (Ptype a, Ptype b)

Static Public 変数

static CArray< MultiInt, ONE_DIM > table

説明

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


列挙型

anonymous enum
列挙型の値:
DROP_DIM 
ONE_DIM 
DIM 

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


関数

osl::MultiIntPair osl::eval::ml::KnightFork::eval ( const NumEffectState &  state,
CArray< std::pair< Position, int >, 2 > &  knight_drop 
) [static]
template<osl::Player Defense>
osl::MultiIntPair osl::eval::ml::KnightFork::evalOne ( const NumEffectState &  state,
const CArray< PieceVector, 10 > &  pieces,
bool  has_knight,
std::pair< Position, int > &  knight_drop 
) [inline, static]
static int osl::eval::ml::KnightFork::index ( Ptype  a,
Ptype  b 
) [inline, static]

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

参照先 osl::PTYPE_SIZE.

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

bool osl::eval::ml::KnightFork::isForkPosition ( const NumEffectState &  state,
Player  defense,
int  y,
int  x0,
int  x1 
) [inline, static]

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

参照元 evalOne().

void osl::eval::ml::KnightFork::setUp ( const Weights weights  )  [static]

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

参照先 DROP_DIM, index(), osl::NStages, ONE_DIM, osl::PTYPE_SIZE, table, と osl::eval::ml::Weights::value().


変数

osl::CArray< osl::MultiInt, 256 *2 *2 > osl::eval::ml::KnightFork::table [static]

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

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


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