All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
king8Group.h
Go to the documentation of this file.
1 /* king8Group.h
2  */
3 #ifndef _KING8GROUP_H
4 #define _KING8GROUP_H
5 
6 #include "osl/rating/group.h"
8 
9 namespace osl
10 {
11  namespace rating
12  {
13  struct AttackKing8Group : public Group
14  {
16  void show(std::ostream& os, int name_width, const range_t& range,
17  const vector<double>& weights) const
18  {
19  showTopN(os, name_width, range, weights, 3);
20  }
21  int findMatch(const NumEffectState& state, Move m, const RatingEnv&) const;
22  bool effectiveInCheck() const { return true; }
23  };
24 
25  struct DefenseKing8Group : public Group
26  {
28  void show(std::ostream& os, int name_width, const range_t& range,
29  const vector<double>& weights) const
30  {
31  showTopN(os, name_width, range, weights, 3);
32  }
33  int findMatch(const NumEffectState& state, Move m, const RatingEnv&) const;
34  };
35  }
36 }
37 
38 #endif /* _KING8GROUP_H */
39 // ;;; Local Variables:
40 // ;;; mode:c++
41 // ;;; c-basic-offset:2
42 // ;;; End: