クラス 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 Position king, int x_diff)

Static Private 変数

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

フレンド

class PromotedMinorPiecesY

説明

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


列挙型

anonymous enum
列挙型の値:
ONE_DIM 
DIM 

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


関数

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

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

参照先 table, と y_table.

参照元 evalOne().

MultiInt osl::eval::ml::PromotedMinorPieces::eval ( const NumEffectState &  state  )  [static]

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

参照先 osl::BISHOP, result, と osl::ROOK.

参照元 evalWithUpdate(), と osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().

template<osl::Player P>
void osl::eval::ml::PromotedMinorPieces::evalOne ( const NumEffectState &  state,
const PieceMask  promoted,
MultiInt result 
) [inline, static, private]

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

参照先 adjust(), osl::BLACK, osl::Piece::position(), と osl::Position::x().

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 Position  king,
int  x_diff 
) [inline, static, private]

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

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

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

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

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


フレンドと関連する関数

friend class PromotedMinorPiecesY [friend]

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


変数

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

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

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

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


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