My Project
bigramGroup.h
Go to the documentation of this file.
1/* bigramGroup.h
2 */
3#ifndef _BIGRAMGROUP_H
4#define _BIGRAMGROUP_H
5
6#include "osl/rating/group.h"
8
9namespace osl
10{
11 namespace rating
12 {
13 class BigramAttackGroup : public Group
14 {
16 public:
17 static std::string name(bool same, bool focus_x);
18 BigramAttackGroup(bool same, bool focus_x);
19
20 void show(std::ostream& os, int name_width, const range_t& range,
21 const std::vector<double>& weights) const
22 {
23 showTopN(os, name_width, range, weights, 3);
24 }
25 int findMatch(const NumEffectState& state, Move m, const RatingEnv& env) const;
26 };
27 }
28}
29
30
31#endif /* _BIGRAMGROUP_H */
32// ;;; Local Variables:
33// ;;; mode:c++
34// ;;; c-basic-offset:2
35// ;;; End:
圧縮していない moveの表現 .
利きを持つ局面
int findMatch(const NumEffectState &state, Move m, const RatingEnv &env) const
void show(std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
Definition bigramGroup.h:20
static std::string name(bool same, bool focus_x)
Definition bigramGroup.cc:6
mutually exclusive set of features
Definition group.h:17
void showTopN(std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights, int n) const
Definition group.cc:100
std::pair< int, int > range_t
Definition range.h:10