#include <analyzer.h>
Public Member Functions | |
void | match (AnalysesResult &, const NumEffectState &src, const vector< Move > &moves, int last_move) |
![]() | |
virtual | ~Analyzer () |
Static Public Member Functions | |
static bool | suitable (const NumEffectState &state, Piece p) |
![]() | |
static Trivalent | isCheckmate (NumEffectState &state, Move &best_move, bool attack=true, size_t *node_count=0) |
Definition at line 79 of file analyzer.h.
|
virtual |
Implements osl::annotate::Analyzer.
Definition at line 270 of file analyzer.cc.
References osl::alt(), osl::annotate::AnalysesResult::ThreatmateIfMorePieces::board_ptype, checkmate_limit, osl::PtypeTable::getMaskLow(), osl::annotate::AnalysesResult::ThreatmateIfMorePieces::hand_ptype, osl::Piece::isOnBoard(), osl::checkmate::DualDfpn::isWinningState(), order, osl::Piece::ptype(), osl::Ptype_Table, osl::annotate::AnalysesResult::threatmate, osl::annotate::AnalysesResult::threatmate_if_more_pieces, osl::annotate::True, and osl::unpromote().
|
static |
Definition at line 253 of file analyzer.cc.
References osl::alt(), osl::move_generator::addeffect8::hasEffect(), osl::Piece::owner(), osl::Piece::ptypeO(), and osl::Piece::square().