struct EvalInfo {
+ EvalInfo() { futilityMargin[0] = futilityMargin[1] = Value(0); }
+
// Middle game and endgame evaluations
Score value;
Move mateThreat[2];
// Middle game and endgame mobility scores.
- Value mgMobility, egMobility;
+ Score mobility;
// Extra futility margin. This is added to the standard futility margin
- // in the quiescence search.
- Value futilityMargin;
+ // in the quiescence search. One for each color.
+ Value futilityMargin[2];
};
////
extern Value evaluate(const Position& pos, EvalInfo& ei, int threadID);
-extern Value quick_evaluate(const Position& pos);
extern void init_eval(int threads);
extern void quit_eval();
extern void read_weights(Color sideToMove);