My Project
|
#include <patternGroup.h>
Public Member Functions | |
PatternBlockGroup (Ptype attacker) | |
void | show (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const |
int | findMatch (const NumEffectState &state, Move m, const RatingEnv &env) const |
![]() | |
Group (const std::string &name) | |
Group (Feature *f) | |
virtual | ~Group () |
void | showMinMax (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const |
void | showAll (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const |
void | showTopN (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights, int n) const |
void | saveResult (const std::string &directory, const range_t &range, const std::vector< double > &weights) const |
bool | load (const std::string &directory, const range_t &range, std::vector< double > &weights) const |
virtual bool | effectiveInCheck () const |
Private Attributes | |
Ptype | attacker |
Additional Inherited Members | |
![]() | |
std::string | group_name |
Definition at line 76 of file patternGroup.h.
|
explicit |
Definition at line 198 of file patternGroup.cc.
References osl::BISHOP, osl::LANCE, osl::PTYPE_EMPTY, osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, and osl::ROOK.
|
virtual |
Reimplemented from osl::rating::Group.
Definition at line 220 of file patternGroup.cc.
References osl::alt(), osl::rating::PatternBlock::find(), osl::rating::CountEffect2::index(), osl::Move::player(), osl::Move::ptype(), osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, and osl::SimpleState::turn().
|
inlinevirtual |
Reimplemented from osl::rating::Group.
Definition at line 81 of file patternGroup.h.
References osl::rating::Group::showTopN().
|
private |
Definition at line 78 of file patternGroup.h.