3#ifndef _CHECKMATEGROUP_H
4#define _CHECKMATEGROUP_H
18 for (
int p=0; p<8; ++p)
21 void show(std::ostream& os,
int name_width,
const range_t& range,
22 const std::vector<double>& weights)
const
24 showAll(os, name_width, range, weights);
28 const int progress8 = env.
progress.value()/2;
29 if ((*
this)[0].match(state, move, env))
38 for (
int p=0; p<8; ++p)
41 void show(std::ostream& os,
int name_width,
const range_t& range,
42 const std::vector<double>& weights)
const
44 showAll(os, name_width, range, weights);
48 const int progress8 = env.
progress.value()/2;
49 if ((*
this)[0].match(state, move, env))
CheckmateIfCaptureGroup()
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
mutually exclusive set of features
void showAll(std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
std::pair< int, int > range_t
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