Public 型 | Static Public メソッド | Static Private メソッド | Static Private 変数 | フレンド

クラス osl::eval::ml::PromotedMinorPieces

#include <minorPiece.h>

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

すべてのメンバ一覧

Public 型

enum  { ONE_DIM = 9, DIM = ONE_DIM * EvalStages }

Static Public メソッド

static void setUp (const Weights &weights)
static MultiInt eval (const NumEffectState &state)
static MultiInt evalWithUpdate (const NumEffectState &state, Move moved, const MultiInt &last_values)
template<int Sign>
static void adjust (int index, int index_attack, int index_defense, MultiInt &result)

Static Private メソッド

template<Player P>
static void evalOne (const NumEffectState &state, const PieceMask promoted, MultiInt &result)
template<bool attack, Player owner>
static int indexY (const Square king, int x_diff)

Static Private 変数

static CArray< MultiInt, 9 > table
static CArray< MultiInt, 162 > y_table

フレンド

class PromotedMinorPiecesY

説明

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


列挙型

anonymous enum
列挙型の値:
ONE_DIM 
DIM 

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


関数

template<int Sign>
void osl::eval::ml::PromotedMinorPieces::adjust ( int  index,
int  index_attack,
int  index_defense,
MultiInt result 
) [inline, static]

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

参照先 table, と y_table.

参照元 evalOne().

MultiInt osl::eval::ml::PromotedMinorPieces::eval ( const NumEffectState state  )  [static]
template<osl::Player P>
void osl::eval::ml::PromotedMinorPieces::evalOne ( const NumEffectState state,
const PieceMask  promoted,
MultiInt result 
) [static, private]
MultiInt osl::eval::ml::PromotedMinorPieces::evalWithUpdate ( const NumEffectState state,
Move  moved,
const MultiInt last_values 
) [static]
template<bool attack, Player owner>
static int osl::eval::ml::PromotedMinorPieces::indexY ( const Square  king,
int  x_diff 
) [inline, static, private]

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

参照先 osl::BLACK, と osl::Square::y().

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

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

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


フレンドと関連する関数

friend class PromotedMinorPiecesY [friend]

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


変数

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

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

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

参照元 adjust(), と osl::eval::ml::PromotedMinorPiecesY::setUp().


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