クラス osl::eval::ml::PtypeCount

#include <minorPiece.h>

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

すべてのメンバ一覧

Public 型

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

Public メソッド

template<osl::Player P, osl::Ptype T>
MultiInt evalPlayerPtype (const osl::CArray2d< int, 2, osl::PTYPE_SIZE > &ptype_count, const osl::CArray2d< int, 2, osl::PTYPE_SIZE > &ptype_board_count, const osl::CArray< int, 2 > &kings_x, const osl::CArray< int, 2 > &kings_y)

Static Public メソッド

static void setUp (const Weights &weights)
template<osl::Player P, osl::Ptype T>
static MultiInt evalPlayerPtype (const CArray2d< int, 2, PTYPE_SIZE > &ptype_count, const CArray2d< int, 2, PTYPE_SIZE > &ptype_board_count, const osl::CArray< int, 2 > &kings_x, const osl::CArray< int, 2 > &kings_y)
static void eval (const NumEffectState &state, const CArray2d< int, 2, PTYPE_SIZE > &ptype_count, const CArray2d< int, 2, PTYPE_SIZE > &ptype_board_count, MultiInt &out)
template<Player P>
static void evalWithUpdateBang (const NumEffectState &state, Move last_move, CArray2d< int, 2, PTYPE_SIZE > &ptype_count, CArray2d< int, 2, PTYPE_SIZE > &ptype_board_count, MultiInt &last_value_and_out, unsigned int &ptypeo_mask)

Static Private メソッド

static int indexCount (Ptype ptype, int count)
static int indexBoardCount (Ptype ptype, int count)
static int indexCountX (Ptype ptype, int count, int x)
static int indexCountY (Ptype ptype, int count, int y)
static int indexBoardCountX (Ptype ptype, int count, int x)
static int indexBoardCountY (Ptype ptype, int count, int y)
template<Ptype T>
static int indexCount (int count)
template<Ptype T>
static int indexBoardCount (int count)
template<Ptype T>
static int indexCountX (int count, int x)
template<Ptype T>
static int indexCountY (int count, int y)
template<Ptype T>
static int indexBoardCountX (int count, int x)
template<Ptype T>
static int indexBoardCountY (int count, int y)
static MultiInt valueAll (Ptype ptype, int count, int my_king_x, int my_king_y, int op_king_x, int op_king_y)
static MultiInt valueBoardAll (Ptype ptype, int count, int my_king_x, int my_king_y, int op_king_x, int op_king_y)

Static Private 変数

static CArray< MultiInt, 160 > table
static CArray< MultiInt, 2240 > xy_table
static CArray< MultiInt, 2240 > xy_attack_table
static CArray< MultiInt, 2240 > xy_table_diff
static CArray< MultiInt, 2240 > xy_attack_table_diff

フレンド

class PtypeCountXY
class PtypeCountXYAttack

説明

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


列挙型

anonymous enum
列挙型の値:
ONE_DIM 
DIM 

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


関数

void osl::eval::ml::PtypeCount::eval ( const NumEffectState &  state,
const CArray2d< int, 2, PTYPE_SIZE > &  ptype_count,
const CArray2d< int, 2, PTYPE_SIZE > &  ptype_board_count,
MultiInt out 
) [static]

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

参照先 osl::BLACK, と osl::WHITE.

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

template<osl::Player P, osl::Ptype T>
MultiInt osl::eval::ml::PtypeCount::evalPlayerPtype ( const osl::CArray2d< int, 2, osl::PTYPE_SIZE > &  ptype_count,
const osl::CArray2d< int, 2, osl::PTYPE_SIZE > &  ptype_board_count,
const osl::CArray< int, 2 > &  kings_x,
const osl::CArray< int, 2 > &  kings_y 
) [inline]

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

参照先 osl::BLACK, out, xy_attack_table, と xy_table.

template<osl::Player P, osl::Ptype T>
static MultiInt osl::eval::ml::PtypeCount::evalPlayerPtype ( const CArray2d< int, 2, PTYPE_SIZE > &  ptype_count,
const CArray2d< int, 2, PTYPE_SIZE > &  ptype_board_count,
const osl::CArray< int, 2 > &  kings_x,
const osl::CArray< int, 2 > &  kings_y 
) [inline, static]
template<osl::Player P>
template void osl::eval::ml::PtypeCount::evalWithUpdateBang< WHITE > ( const NumEffectState &  state,
Move  last_move,
CArray2d< int, 2, PTYPE_SIZE > &  ptype_count,
CArray2d< int, 2, PTYPE_SIZE > &  ptype_board_count,
MultiInt last_value_and_out,
unsigned int &  ptypeo_mask 
) [inline, static]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexBoardCount ( int  count  )  [inline, static, private]

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

参照先 osl::isPromoted().

static int osl::eval::ml::PtypeCount::indexBoardCount ( Ptype  ptype,
int  count 
) [inline, static, private]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexBoardCountX ( int  count,
int  x 
) [inline, static, private]

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

参照先 osl::isPromoted().

static int osl::eval::ml::PtypeCount::indexBoardCountX ( Ptype  ptype,
int  count,
int  x 
) [inline, static, private]

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

参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().

参照元 valueBoardAll().

template<Ptype T>
static int osl::eval::ml::PtypeCount::indexBoardCountY ( int  count,
int  y 
) [inline, static, private]

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

参照先 osl::isPromoted().

static int osl::eval::ml::PtypeCount::indexBoardCountY ( Ptype  ptype,
int  count,
int  y 
) [inline, static, private]

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

参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().

参照元 valueBoardAll().

template<Ptype T>
static int osl::eval::ml::PtypeCount::indexCount ( int  count  )  [inline, static, private]

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

参照先 osl::isPromoted().

static int osl::eval::ml::PtypeCount::indexCount ( Ptype  ptype,
int  count 
) [inline, static, private]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexCountX ( int  count,
int  x 
) [inline, static, private]

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

参照先 osl::isPromoted().

static int osl::eval::ml::PtypeCount::indexCountX ( Ptype  ptype,
int  count,
int  x 
) [inline, static, private]

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

参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().

参照元 valueAll().

template<Ptype T>
static int osl::eval::ml::PtypeCount::indexCountY ( int  count,
int  y 
) [inline, static, private]

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

参照先 osl::isPromoted().

static int osl::eval::ml::PtypeCount::indexCountY ( Ptype  ptype,
int  count,
int  y 
) [inline, static, private]

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

参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().

参照元 valueAll().

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

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

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

static MultiInt osl::eval::ml::PtypeCount::valueAll ( Ptype  ptype,
int  count,
int  my_king_x,
int  my_king_y,
int  op_king_x,
int  op_king_y 
) [inline, static, private]

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

参照先 indexCountX(), indexCountY(), xy_attack_table_diff, と xy_table_diff.

参照元 evalWithUpdateBang().

static MultiInt osl::eval::ml::PtypeCount::valueBoardAll ( Ptype  ptype,
int  count,
int  my_king_x,
int  my_king_y,
int  op_king_x,
int  op_king_y 
) [inline, static, private]

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

参照先 indexBoardCountX(), indexBoardCountY(), xy_attack_table_diff, と xy_table_diff.

参照元 evalWithUpdateBang().


フレンドと関連する関数

friend class PtypeCountXY [friend]

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

friend class PtypeCountXYAttack [friend]

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


変数

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

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

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

参照元 evalPlayerPtype(), と osl::eval::ml::PtypeCountXYAttack::setUp().

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

参照元 osl::eval::ml::PtypeCountXYAttack::setUp(), valueAll(), と valueBoardAll().

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

参照元 evalPlayerPtype(), と osl::eval::ml::PtypeCountXY::setUp().

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

参照元 osl::eval::ml::PtypeCountXY::setUp(), valueAll(), と valueBoardAll().


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