My Project
|
#include <patternGroup.h>
Public Member Functions | |
PatternLongGroup2 (int d) | |
Direction | makeDirection (Ptype ptype) const |
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 |
bool | effectiveInCheck () 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 |
Static Private Member Functions | |
static std::string | name (int direction_id) |
Private Attributes | |
int | direction_id |
Additional Inherited Members | |
![]() | |
std::string | group_name |
Definition at line 54 of file patternGroup.h.
osl::rating::PatternLongGroup2::PatternLongGroup2 | ( | int | d | ) |
Definition at line 148 of file patternGroup.cc.
References osl::BISHOP, osl::LANCE, makeDirection(), osl::PBISHOP, osl::PROOK, osl::PTYPE_EDGE, osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, and osl::ROOK.
|
inlinevirtual |
Reimplemented from osl::rating::Group.
Definition at line 73 of file patternGroup.h.
|
virtual |
Reimplemented from osl::rating::Group.
Definition at line 163 of file patternGroup.cc.
References osl::BISHOP, osl::rating::PatternLong2::find(), osl::Piece::isPiece(), osl::LANCE, osl::Piece::owner(), osl::PBISHOP, osl::Move::player(), osl::PROOK, osl::Piece::ptype(), osl::Move::ptype(), osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, and osl::ROOK.
Definition at line 61 of file patternGroup.h.
References osl::BISHOP, osl::rating::PatternLongGroup::bishop_direction4, direction_id, and osl::unpromote().
Referenced by PatternLongGroup2().
|
staticprivate |
Definition at line 141 of file patternGroup.cc.
|
inlinevirtual |
Reimplemented from osl::rating::Group.
Definition at line 67 of file patternGroup.h.
References osl::rating::Group::showTopN().
|
private |
Definition at line 57 of file patternGroup.h.
Referenced by makeDirection().