歩切れなどの評価 More...
#include <minorPieceBonus.h>
Public Member Functions | |
MinorPieceBonus (const SimpleState &state) | |
int | value (Progress16 progress16, Progress16 black, Progress16 white) const |
void | update (const SimpleState &, Move last_move) |
int | expect (const SimpleState &state, Move move, Progress16 progress16, Progress16 black, Progress16 white) const |
MinorPieceDebugInfo | debugInfo (Progress16 progress16, Progress16 black, Progress16 white) const |
Private Member Functions | |
int | pawnBonus (Progress16 progress16) const |
int | lanceBonus (Progress16 progress16) const |
int | knightBonus (Progress16 progress16) const |
int | goldBonus (Progress16 black, Progress16 white) const |
Private Attributes | |
CArray< int, 2 > | pawn_on_stand |
CArray< int, 2 > | lance_on_stand |
CArray< int, 2 > | knight_on_stand |
CArray< int, 2 > | pawns |
CArray< int, 2 > | golds |
歩切れなどの評価
Definition at line 22 of file minorPieceBonus.h.
|
inline |
Definition at line 132 of file minorPieceBonus.h.
References osl::BLACK, golds, osl::KNIGHT, knight_on_stand, osl::LANCE, lance_on_stand, osl::Piece::owner(), osl::PAWN, pawn_on_stand, pawns, and osl::WHITE.
|
inline |
Definition at line 261 of file minorPieceBonus.h.
References osl::eval::MinorPieceDebugInfo::gold_bonus, goldBonus(), osl::eval::MinorPieceDebugInfo::knight_bonus, knightBonus(), osl::eval::MinorPieceDebugInfo::lance_bonus, lanceBonus(), osl::eval::MinorPieceDebugInfo::pawn_bonus, and pawnBonus().
|
inline |
Definition at line 216 of file minorPieceBonus.h.
References osl::alt(), osl::BLACK, osl::Move::capturePtype(), osl::GOLD, golds, osl::Move::isDrop(), osl::KNIGHT, knight_on_stand, osl::LANCE, lance_on_stand, osl::PAWN, pawn_on_stand, pawns, osl::Move::ptype(), osl::PTYPE_EMPTY, osl::unpromote(), value(), and osl::WHITE.
|
inlineprivate |
Definition at line 113 of file minorPieceBonus.h.
References osl::BLACK, golds, and osl::WHITE.
Referenced by debugInfo(), and value().
|
inlineprivate |
Definition at line 90 of file minorPieceBonus.h.
References osl::BLACK, knight_on_stand, result, and osl::WHITE.
Referenced by debugInfo(), and value().
|
inlineprivate |
Definition at line 67 of file minorPieceBonus.h.
References osl::BLACK, lance_on_stand, result, and osl::WHITE.
Referenced by debugInfo(), and value().
|
inlineprivate |
Definition at line 30 of file minorPieceBonus.h.
References osl::BLACK, pawn_on_stand, pawns, result, and osl::WHITE.
Referenced by debugInfo(), and value().
|
inline |
Definition at line 170 of file minorPieceBonus.h.
References osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::GOLD, golds, osl::Move::isDrop(), osl::KNIGHT, knight_on_stand, osl::LANCE, lance_on_stand, osl::PAWN, pawn_on_stand, pawns, osl::Move::player(), osl::Move::ptype(), osl::PTYPE_EMPTY, osl::unpromote(), and osl::WHITE.
|
inline |
Definition at line 162 of file minorPieceBonus.h.
References goldBonus(), knightBonus(), lanceBonus(), and pawnBonus().
Referenced by expect(), osl::eval::ProgressEvalGeneral< progress_eval_opening_t >::minorPieceValue(), and osl::eval::ProgressEvalGeneral< progress_eval_opening_t >::value().
|
private |
Definition at line 28 of file minorPieceBonus.h.
Referenced by expect(), goldBonus(), MinorPieceBonus(), and update().
|
private |
Definition at line 26 of file minorPieceBonus.h.
Referenced by expect(), knightBonus(), MinorPieceBonus(), and update().
|
private |
Definition at line 25 of file minorPieceBonus.h.
Referenced by expect(), lanceBonus(), MinorPieceBonus(), and update().
|
private |
Definition at line 24 of file minorPieceBonus.h.
Referenced by expect(), MinorPieceBonus(), pawnBonus(), and update().
|
private |
Definition at line 27 of file minorPieceBonus.h.
Referenced by expect(), MinorPieceBonus(), pawnBonus(), and update().