#include <patternGroup.h>
Public Member Functions | |
PatternBlockGroup (Ptype attacker) | |
void | show (std::ostream &os, int name_width, const range_t &range, const vector< double > &weights) const |
int | findMatch (const NumEffectState &state, Move m, const RatingEnv &env) const |
Private Attributes | |
Ptype | attacker |
Definition at line 76 of file patternGroup.h.
osl::rating::PatternBlockGroup::PatternBlockGroup | ( | Ptype | attacker | ) | [explicit] |
Definition at line 199 of file patternGroup.cc.
References osl::BISHOP, osl::LANCE, osl::PTYPE_EMPTY, osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, and osl::ROOK.
int osl::rating::PatternBlockGroup::findMatch | ( | const NumEffectState & | state, |
Move | m, | ||
const RatingEnv & | env | ||
) | const [virtual] |
Reimplemented from osl::rating::Group.
Definition at line 221 of file patternGroup.cc.
References osl::alt(), osl::rating::PatternBlock::find(), osl::rating::CountEffect2::index(), osl::Move::player(), osl::Move::ptype(), osl::PTYPE_MAX, and osl::PTYPE_PIECE_MIN.
void osl::rating::PatternBlockGroup::show | ( | std::ostream & | os, |
int | name_width, | ||
const range_t & | range, | ||
const vector< double > & | weights | ||
) | const [inline, virtual] |
Reimplemented from osl::rating::Group.
Definition at line 81 of file patternGroup.h.
References osl::rating::Group::showTopN().
Definition at line 78 of file patternGroup.h.