#include <bigramGroup.h>
Public Member Functions | |
BigramAttackGroup (bool same, bool focus_x) | |
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 |
Static Public Member Functions | |
static std::string | name (bool same, bool focus_x) |
Private Attributes | |
bool | same |
bool | focus_x |
Definition at line 13 of file bigramGroup.h.
osl::rating::BigramAttackGroup::BigramAttackGroup | ( | bool | same, |
bool | focus_x | ||
) |
Definition at line 13 of file bigramGroup.cc.
int osl::rating::BigramAttackGroup::findMatch | ( | const NumEffectState & | state, |
Move | m, | ||
const RatingEnv & | env | ||
) | const [virtual] |
Reimplemented from osl::rating::Group.
Definition at line 29 of file bigramGroup.cc.
References osl::rating::BigramAttack::index().
std::string osl::rating::BigramAttackGroup::name | ( | bool | same, |
bool | focus_x | ||
) | [static] |
Definition at line 6 of file bigramGroup.cc.
void osl::rating::BigramAttackGroup::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 20 of file bigramGroup.h.
References osl::rating::Group::showTopN().
bool osl::rating::BigramAttackGroup::focus_x [private] |
Definition at line 15 of file bigramGroup.h.
Referenced by BigramAttackGroup().
bool osl::rating::BigramAttackGroup::same [private] |
Definition at line 15 of file bigramGroup.h.
Referenced by BigramAttackGroup().