#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 の 1380 行で定義されています。
| anonymous enum |
minorPiece.h の 1385 行で定義されています。
| 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 の 1842 行で定義されています。
参照先 osl::BLACK, と 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 | |||
| ) | [inline] |
minorPiece.cc の 1783 行で定義されています。
参照先 osl::BLACK, out, 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 | |||
| ) | [inline, 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 | |||
| ) | [inline, static] |
minorPiece.cc の 1887 行で定義されています。
参照先 osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::capturePtypeO(), eval(), osl::Move::isDrop(), osl::Move::isPromote(), osl::KING, 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 | ( | int | count | ) | [inline, static, private] |
minorPiece.h の 1451 行で定義されています。
参照先 osl::isPromoted().
| static int osl::eval::ml::PtypeCount::indexBoardCount | ( | Ptype | ptype, | |
| int | count | |||
| ) | [inline, static, private] |
minorPiece.h の 1410 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
| static int osl::eval::ml::PtypeCount::indexBoardCountX | ( | int | count, | |
| int | x | |||
| ) | [inline, static, private] |
minorPiece.h の 1471 行で定義されています。
参照先 osl::isPromoted().
| static int osl::eval::ml::PtypeCount::indexBoardCountX | ( | Ptype | ptype, | |
| int | count, | |||
| int | x | |||
| ) | [inline, static, private] |
minorPiece.h の 1430 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
参照元 valueBoardAll().
| static int osl::eval::ml::PtypeCount::indexBoardCountY | ( | int | count, | |
| int | y | |||
| ) | [inline, static, private] |
minorPiece.h の 1478 行で定義されています。
参照先 osl::isPromoted().
| static int osl::eval::ml::PtypeCount::indexBoardCountY | ( | Ptype | ptype, | |
| int | count, | |||
| int | y | |||
| ) | [inline, static, private] |
minorPiece.h の 1437 行で定義されています。
参照先 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 の 1445 行で定義されています。
参照先 osl::isPromoted().
| static int osl::eval::ml::PtypeCount::indexCount | ( | 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::indexCountX | ( | int | count, | |
| int | x | |||
| ) | [inline, static, private] |
minorPiece.h の 1457 行で定義されています。
参照先 osl::isPromoted().
| static int osl::eval::ml::PtypeCount::indexCountX | ( | Ptype | ptype, | |
| int | count, | |||
| int | x | |||
| ) | [inline, static, private] |
minorPiece.h の 1416 行で定義されています。
参照先 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 の 1464 行で定義されています。
参照先 osl::isPromoted().
| static int osl::eval::ml::PtypeCount::indexCountY | ( | Ptype | ptype, | |
| int | count, | |||
| int | y | |||
| ) | [inline, static, private] |
minorPiece.h の 1423 行で定義されています。
参照先 osl::PtypeTable::getIndexMin(), osl::isPromoted(), osl::Ptype_Table, と osl::unpromote().
参照元 valueAll().
| void osl::eval::ml::PtypeCount::setUp | ( | const Weights & | weights | ) | [static] |
minorPiece.cc の 1700 行で定義されています。
参照先 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.h の 1484 行で定義されています。
参照先 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 の 1493 行で定義されています。
参照先 indexBoardCountX(), indexBoardCountY(), xy_attack_table_diff, と xy_table_diff.
参照元 evalWithUpdateBang().
friend class PtypeCountXY [friend] |
minorPiece.h の 1382 行で定義されています。
friend class PtypeCountXYAttack [friend] |
minorPiece.h の 1383 行で定義されています。
osl::misc::CArray< MultiInt, 160 > osl::eval::ml::PtypeCount::table [static, private] |
minorPiece.h の 1502 行で定義されています。
osl::misc::CArray< MultiInt, 2240 > osl::eval::ml::PtypeCount::xy_attack_table [static, private] |
minorPiece.h の 1504 行で定義されています。
参照元 evalPlayerPtype(), と osl::eval::ml::PtypeCountXYAttack::setUp().
osl::misc::CArray< MultiInt, 2240 > osl::eval::ml::PtypeCount::xy_attack_table_diff [static, private] |
minorPiece.h の 1506 行で定義されています。
参照元 osl::eval::ml::PtypeCountXYAttack::setUp(), valueAll(), と valueBoardAll().
osl::misc::CArray< MultiInt, 2240 > osl::eval::ml::PtypeCount::xy_table [static, private] |
minorPiece.h の 1503 行で定義されています。
参照元 evalPlayerPtype(), と osl::eval::ml::PtypeCountXY::setUp().
osl::misc::CArray< MultiInt, 2240 > osl::eval::ml::PtypeCount::xy_table_diff [static, private] |
minorPiece.h の 1505 行で定義されています。
参照元 osl::eval::ml::PtypeCountXY::setUp(), valueAll(), と valueBoardAll().
1.6.3