3 #ifndef _POSITIONGROUP_H 4 #define _POSITIONGROUP_H 17 void show(std::ostream& os,
int name_width,
const range_t& range,
18 const std::vector<double>& weights)
const 20 showTopN(os, name_width, range, weights, 3);
24 const int progress8 = env.
progress.value()/2;
26 return index*8 + progress8;
35 void show(std::ostream& os,
int name_width,
const range_t& range,
36 const std::vector<double>& weights)
const 38 showTopN(os, name_width, range, weights, 3);
42 const int progress8 = env.
progress.value()/2;
44 return index*8+progress8;
52 void show(std::ostream& os,
int name_width,
const range_t& range,
53 const std::vector<double>& weights)
const 55 showTopN(os, name_width, range, weights, 3);
59 const int progress8 = env.
progress.value()/2;
62 return index*8+progress8;
70 void show(std::ostream& os,
int name_width,
const range_t& range,
71 const std::vector<double>& weights)
const 73 showTopN(os, name_width, range, weights, 3);
77 const int progress8 = env.
progress.value()/2;
80 return index*8+progress8;
int findMatch(const NumEffectState &, Move move, const RatingEnv &env) const
bool effectiveInCheck() const
int findMatch(const NumEffectState &state, Move move, const RatingEnv &env) const
bool effectiveInCheck() const
mutually exclusive set of features
std::pair< int, int > range_t
int findMatch(const NumEffectState &, Move move, const RatingEnv &env) const
static int index(bool attack, const NumEffectState &state, Move move)
void show(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
static int index(bool attack, const NumEffectState &state, Move move)
static int makeX(Move move)
bool effectiveInCheck() const
void show(std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
void show(std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
RelativeKingXGroup(bool a)
int findMatch(const NumEffectState &state, Move move, const RatingEnv &env) const
void show(std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
bool effectiveInCheck() const
static int index(Move move)
static int makeY(Move move)