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;
mutually exclusive set of features
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 index(bool attack, const NumEffectState &state, Move move)
static int makeX(Move move)
static int makeY(Move move)
std::pair< int, int > range_t
static int index(Move move)
int findMatch(const NumEffectState &state, Move move, const RatingEnv &env) const
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
int findMatch(const NumEffectState &state, Move move, const RatingEnv &env) const
bool effectiveInCheck() const
int findMatch(const NumEffectState &, 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
int findMatch(const NumEffectState &, 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