bigramGroup.h
Go to the documentation of this file.
00001 /* bigramGroup.h
00002  */
00003 #ifndef _BIGRAMGROUP_H
00004 #define _BIGRAMGROUP_H
00005 
00006 #include "osl/rating/group.h"
00007 #include "osl/rating/feature/bigramAttack.h"
00008 
00009 namespace osl
00010 {
00011   namespace rating
00012   {
00013     class BigramAttackGroup : public Group
00014     {
00015       bool same, focus_x;
00016     public:
00017       static std::string name(bool same, bool focus_x);
00018       BigramAttackGroup(bool same, bool focus_x);
00019 
00020       void show(std::ostream& os, int name_width, const range_t& range, 
00021                 const vector<double>& weights) const
00022       {
00023         showTopN(os, name_width, range, weights, 3);
00024       }
00025       int findMatch(const NumEffectState& state, Move m, const RatingEnv& env) const;
00026     };
00027   }
00028 }
00029 
00030 
00031 #endif /* _BIGRAMGROUP_H */
00032 // ;;; Local Variables:
00033 // ;;; mode:c++
00034 // ;;; c-basic-offset:2
00035 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines