#include <minorPiece.h>
|
enum | { ONE_DIM = 160,
DIM = ONE_DIM * EvalStages
} |
|
|
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 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 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) |
|
Definition at line 1374 of file minorPiece.h.
§ anonymous enum
§ eval()
§ evalPlayerPtype() [1/2]
template<osl::Player P, osl::Ptype T>
§ evalPlayerPtype() [2/2]
template<osl::Player P, osl::Ptype T>
§ evalWithUpdateBang()
Definition at line 1888 of file minorPiece.cc.
References osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::capturePtypeO(), osl::Move::isDrop(), osl::Move::isPromotion(), osl::KING, 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::eval::ml::LanceEffectPieceKingRelative::setUp(), osl::unpromote(), and osl::WHITE.
§ indexBoardCount() [1/2]
static int osl::eval::ml::PtypeCount::indexBoardCount |
( |
Ptype |
ptype, |
|
|
int |
count |
|
) |
| |
|
inlinestaticprivate |
§ indexBoardCount() [2/2]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexBoardCount |
( |
int |
count | ) |
|
|
inlinestaticprivate |
§ indexBoardCountX() [1/2]
static int osl::eval::ml::PtypeCount::indexBoardCountX |
( |
Ptype |
ptype, |
|
|
int |
count, |
|
|
int |
x |
|
) |
| |
|
inlinestaticprivate |
§ indexBoardCountX() [2/2]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexBoardCountX |
( |
int |
count, |
|
|
int |
x |
|
) |
| |
|
inlinestaticprivate |
§ indexBoardCountY() [1/2]
static int osl::eval::ml::PtypeCount::indexBoardCountY |
( |
Ptype |
ptype, |
|
|
int |
count, |
|
|
int |
y |
|
) |
| |
|
inlinestaticprivate |
§ indexBoardCountY() [2/2]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexBoardCountY |
( |
int |
count, |
|
|
int |
y |
|
) |
| |
|
inlinestaticprivate |
§ indexCount() [1/2]
static int osl::eval::ml::PtypeCount::indexCount |
( |
Ptype |
ptype, |
|
|
int |
count |
|
) |
| |
|
inlinestaticprivate |
§ indexCount() [2/2]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexCount |
( |
int |
count | ) |
|
|
inlinestaticprivate |
§ indexCountX() [1/2]
static int osl::eval::ml::PtypeCount::indexCountX |
( |
Ptype |
ptype, |
|
|
int |
count, |
|
|
int |
x |
|
) |
| |
|
inlinestaticprivate |
§ indexCountX() [2/2]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexCountX |
( |
int |
count, |
|
|
int |
x |
|
) |
| |
|
inlinestaticprivate |
§ indexCountY() [1/2]
static int osl::eval::ml::PtypeCount::indexCountY |
( |
Ptype |
ptype, |
|
|
int |
count, |
|
|
int |
y |
|
) |
| |
|
inlinestaticprivate |
§ indexCountY() [2/2]
template<Ptype T>
static int osl::eval::ml::PtypeCount::indexCountY |
( |
int |
count, |
|
|
int |
y |
|
) |
| |
|
inlinestaticprivate |
§ setUp()
void osl::eval::ml::PtypeCount::setUp |
( |
const Weights & |
weights | ) |
|
|
static |
§ valueAll()
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 |
|
) |
| |
|
inlinestaticprivate |
§ valueBoardAll()
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 |
|
) |
| |
|
inlinestaticprivate |
§ PtypeCountXY
§ PtypeCountXYAttack
§ table
§ xy_attack_table
§ xy_attack_table_diff
§ xy_table
§ xy_table_diff
The documentation for this class was generated from the following files: