1 #ifndef EVAL_ML_PROGRESS_H
2 #define EVAL_ML_PROGRESS_H
22 return black.value() * 16 + white.value();
36 return attack.value() * 16 + defense.value();
53 return white_attack.value() +
54 16 * (black_defense.value() +
55 16 * (black_attack.value() * 16 + white_defense.value()));
static CArray< int, 65536 > table
static void setUp(const Weights &weights)
static int index(Progress16 black_attack, Progress16 white_defense, Progress16 white_attack, Progress16 black_defense)
static int eval(Progress16 black_attack, Progress16 white_defense, Progress16 white_attack, Progress16 black_defense)
static CArray< int, 256 > table
static int index(Progress16 attack, Progress16 defense)
static int eval(Progress16 black_attack, Progress16 white_defense, Progress16 white_attack, Progress16 black_defense)
static void setUp(const Weights &weights)
static CArray< int, 256 > table
static int eval(Progress16 black, Progress16 white)
static void setUp(const Weights &weights)
static int index(Progress16 black, Progress16 white)
ProgressN< 16 > Progress16