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

クラス osl::eval::ml::PiecePairKing

#include <piecePairKing.h>

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

すべてのメンバ一覧

Public 型

enum  { ONE_DIM = 1488375, DIM = ONE_DIM }

Static Public メソッド

static void setUp (const Weights &weights)
static CArray< int, 2 > eval (const NumEffectState &)
template<Player P>
static void evalWithUpdateBang (const NumEffectState &state, Move moved, CArray< int, 2 > &last_value)
template<Player King>
static int evalOne (const NumEffectState &)

Static Private メソッド

template<Player King>
static int add (const NumEffectState &state, Square to, Ptype ptype)
template<Player King>
static int sub (const NumEffectState &state, Square from, Ptype ptype)
template<Player King>
static int addSub (const NumEffectState &state, Square to, Ptype ptype, Square from)
static int composeIndex (int king, int i0, int i1)
static int indexWhite (Square p)
static int indexKing (Player owner, Square king, bool &flipx)
template<bool FlipX>
static int indexPiece (Player owner, Square position, Ptype ptype)

Static Private 変数

static osl::CArray< int16_t,
ONE_DIM > 
table

説明

piecePairKing.h14 行で定義されています。


列挙型

anonymous enum
列挙型の値:
ONE_DIM 
DIM 

piecePairKing.h17 行で定義されています。


関数

template<osl::Player King>
int osl::eval::ml::PiecePairKing::add ( const NumEffectState state,
Square  to,
Ptype  ptype 
) [static, private]
template<osl::Player King>
int osl::eval::ml::PiecePairKing::addSub ( const NumEffectState state,
Square  to,
Ptype  ptype,
Square  from 
) [static, private]
static int osl::eval::ml::PiecePairKing::composeIndex ( int  king,
int  i0,
int  i1 
) [inline, static, private]

piecePairKing.h36 行で定義されています。

参照元 add(), addSub(), evalOne(), setUp(), と sub().

osl::CArray< int, 2 > osl::eval::ml::PiecePairKing::eval ( const NumEffectState state  )  [static]

piecePairKing.cc29 行で定義されています。

参照元 osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().

template<osl::Player King>
int osl::eval::ml::PiecePairKing::evalOne ( const NumEffectState state  )  [static]
template<osl::Player P>
template void osl::eval::ml::PiecePairKing::evalWithUpdateBang< WHITE > ( const NumEffectState state,
Move  moved,
CArray< int, 2 > &  last_value 
) [static]
static int osl::eval::ml::PiecePairKing::indexKing ( Player  owner,
Square  king,
bool &  flipx 
) [inline, static, private]
template<bool FlipX>
static int osl::eval::ml::PiecePairKing::indexPiece ( Player  owner,
Square  position,
Ptype  ptype 
) [inline, static, private]
static int osl::eval::ml::PiecePairKing::indexWhite ( Square  p  )  [inline, static, private]

piecePairKing.h40 行で定義されています。

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

参照元 indexPiece().

void osl::eval::ml::PiecePairKing::setUp ( const Weights weights  )  [static]
template<osl::Player King>
int osl::eval::ml::PiecePairKing::sub ( const NumEffectState state,
Square  from,
Ptype  ptype 
) [static, private]

変数

osl::CArray< int16_t, 1488375 > osl::eval::ml::PiecePairKing::table [static, private]

piecePairKing.h69 行で定義されています。

参照元 add(), addSub(), evalOne(), setUp(), と sub().


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