#include <minorPiece.h>
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.h の 1374 行で定義されています。
anonymous enum |
minorPiece.h の 1379 行で定義されています。
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.cc の 1843 行で定義されています。
参照先 osl::BLACK, osl::SimpleState::kingSquare(), と osl::WHITE.
参照元 evalWithUpdateBang(), と osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
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 | |||
) |
minorPiece.cc の 1784 行で定義されています。
参照先 osl::BLACK, osl::playerToIndex(), xy_attack_table, と xy_table.
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 | |||
) | [static] |
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 | |||
) | [static] |
minorPiece.cc の 1888 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::capturePtypeO(), eval(), osl::Move::isDrop(), osl::Move::isPromotion(), osl::SimpleState::kingSquare(), osl::Move::oldPtype(), osl::Move::oldPtypeO(), osl::Move::player(), osl::Move::ptype(), osl::PTYPE_EMPTY, osl::Move::ptypeO(), osl::PTYPEO_MIN, osl::unpromote(), valueAll(), valueBoardAll(), と osl::WHITE.
static int osl::eval::ml::PtypeCount::indexBoardCount | ( | Ptype | ptype, | |
int | count | |||
) | [inline, static, private] |
minorPiece.h の 1404 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
static int osl::eval::ml::PtypeCount::indexBoardCount | ( | int | count | ) | [inline, static, private] |
minorPiece.h の 1445 行で定義されています。
参照先 osl::isPromoted().
static int osl::eval::ml::PtypeCount::indexBoardCountX | ( | Ptype | ptype, | |
int | count, | |||
int | x | |||
) | [inline, static, private] |
minorPiece.h の 1424 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
参照元 valueBoardAll().
static int osl::eval::ml::PtypeCount::indexBoardCountX | ( | int | count, | |
int | x | |||
) | [inline, static, private] |
minorPiece.h の 1465 行で定義されています。
参照先 osl::isPromoted().
static int osl::eval::ml::PtypeCount::indexBoardCountY | ( | int | count, | |
int | y | |||
) | [inline, static, private] |
minorPiece.h の 1472 行で定義されています。
参照先 osl::isPromoted().
static int osl::eval::ml::PtypeCount::indexBoardCountY | ( | Ptype | ptype, | |
int | count, | |||
int | y | |||
) | [inline, static, private] |
minorPiece.h の 1431 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
参照元 valueBoardAll().
static int osl::eval::ml::PtypeCount::indexCount | ( | int | count | ) | [inline, static, private] |
minorPiece.h の 1439 行で定義されています。
参照先 osl::isPromoted().
static int osl::eval::ml::PtypeCount::indexCount | ( | Ptype | ptype, | |
int | count | |||
) | [inline, static, private] |
minorPiece.h の 1398 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
static int osl::eval::ml::PtypeCount::indexCountX | ( | int | count, | |
int | x | |||
) | [inline, static, private] |
minorPiece.h の 1451 行で定義されています。
参照先 osl::isPromoted().
static int osl::eval::ml::PtypeCount::indexCountX | ( | Ptype | ptype, | |
int | count, | |||
int | x | |||
) | [inline, static, private] |
minorPiece.h の 1410 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
参照元 valueAll().
static int osl::eval::ml::PtypeCount::indexCountY | ( | Ptype | ptype, | |
int | count, | |||
int | y | |||
) | [inline, static, private] |
minorPiece.h の 1417 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
参照元 valueAll().
static int osl::eval::ml::PtypeCount::indexCountY | ( | int | count, | |
int | y | |||
) | [inline, static, private] |
minorPiece.h の 1458 行で定義されています。
参照先 osl::isPromoted().
void osl::eval::ml::PtypeCount::setUp | ( | const Weights & | weights | ) | [static] |
minorPiece.cc の 1701 行で定義されています。
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.h の 1478 行で定義されています。
参照先 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.h の 1487 行で定義されています。
参照先 indexBoardCountX(), indexBoardCountY(), xy_attack_table_diff, と xy_table_diff.
参照元 evalWithUpdateBang().
friend class PtypeCountXY [friend] |
minorPiece.h の 1376 行で定義されています。
friend class PtypeCountXYAttack [friend] |
minorPiece.h の 1377 行で定義されています。
osl::CArray< MultiInt, 160 > osl::eval::ml::PtypeCount::table [static, private] |
minorPiece.h の 1496 行で定義されています。
osl::CArray< MultiInt, 2240 > osl::eval::ml::PtypeCount::xy_attack_table [static, private] |
minorPiece.h の 1498 行で定義されています。
参照元 evalPlayerPtype(), と osl::eval::ml::PtypeCountXYAttack::setUp().
osl::CArray< MultiInt, 2240 > osl::eval::ml::PtypeCount::xy_attack_table_diff [static, private] |
minorPiece.h の 1500 行で定義されています。
参照元 osl::eval::ml::PtypeCountXYAttack::setUp(), valueAll(), と valueBoardAll().
osl::CArray< MultiInt, 2240 > osl::eval::ml::PtypeCount::xy_table [static, private] |
minorPiece.h の 1497 行で定義されています。
参照元 evalPlayerPtype(), と osl::eval::ml::PtypeCountXY::setUp().
osl::CArray< MultiInt, 2240 > osl::eval::ml::PtypeCount::xy_table_diff [static, private] |
minorPiece.h の 1499 行で定義されています。
参照元 osl::eval::ml::PtypeCountXY::setUp(), valueAll(), と valueBoardAll().