#include <analyzer.h>


Public Member Functions | |
| void | match (AnalysesResult &, const NumEffectState &src, const vector< Move > &moves, int last_move) |
Static Public Member Functions | |
| static bool | suitable (const NumEffectState &state, Piece p) |
Definition at line 71 of file analyzer.h.
| void osl::annotate::ThreatmateIfMorePieces::match | ( | AnalysesResult & | shared, |
| const NumEffectState & | src, | ||
| const vector< Move > & | moves, | ||
| int | last_move | ||
| ) | [virtual] |
Implements osl::annotate::Analyzer.
Definition at line 246 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(), order, osl::Piece::ptype(), osl::Ptype_Table, osl::annotate::AnalysesResult::threatmate, osl::annotate::AnalysesResult::threatmate_if_more_pieces, osl::annotate::True, and osl::unpromote().
| bool osl::annotate::ThreatmateIfMorePieces::suitable | ( | const NumEffectState & | state, |
| Piece | p | ||
| ) | [static] |
Definition at line 229 of file analyzer.cc.
References osl::alt(), osl::move_generator::addeffect8::hasEffect(), osl::Piece::owner(), osl::Piece::ptypeO(), and osl::Piece::square().
1.7.6.1