3#ifndef OSL_MOVE_PROBABILITY_STATEINFO_H
4#define OSL_MOVE_PROBABILITY_STATEINFO_H
18 namespace move_probability
uint64_t Iking8Info(Player king) const
bool operator==(const PinnedGeneral &l, const PinnedGeneral &r)
FixedCapacityVector< PinnedGeneral, 64 > pinned_gs_t
void updatePinnedGenerals(Player owner)
CArray< Move, 2 > bookmove
static std::pair< Piece, Square > findCheckmateDefender(const NumEffectState &state, Player king)
CArray< Piece, 2 > threatened
void reset(const NumEffectState &s, Progress16 p, const MoveStack &h, Move threatmate_move=Move())
unsigned int possible_threatmate_ptype
const NumEffectState * state
CArray2d< bool, 40, 2 > attack_shadow
PieceVector king8_long_pieces
const MoveStack * history
static Move findShortThreatmate(const NumEffectState &, Move last_move)
void reset0(const NumEffectState &s, Progress16 p)
void reset1(const MoveStack &h)
CArray< int, 16 > pattern_square_t
CArray< bool, 2 > move_candidate_exists
CArray< pinned_gs_t, 2 > exchange_pins
StateInfo(const NumEffectState &s, Progress16 p, const MoveStack &h, Move t=Move())
FixedCapacityVector< int, 8 > long_attack_t
bool pinByOpposingSliders(Piece p) const
BoardMask changed_effects
CArray< std::pair< Piece, Square >, 2 > checkmate_defender
CArray< pattern_square_t, Square::SIZE > pattern_cache
void makePinOfLongPieces()
King8Info king8Info(Player pl) const
PieceMask last_add_effect
void setThreatmate(Move move)
CArray< PieceMask, 2 > pin
CArray2d< long_attack_t, 40, 8 > long_attack_cache
PieceVector pin_by_opposing_sliders