X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.h;h=f33774acea4246adc50e3e7ad3376ab6cb64b7e4;hp=2531182af244a95fe55cba173cbb5762b6568b63;hb=3941e4bdb3e4871a3081fbae0036e65704363409;hpb=d3c4618b3ac0e444ce3b9dd894b87f86a50863c5 diff --git a/src/evaluate.h b/src/evaluate.h index 2531182a..f33774ac 100644 --- a/src/evaluate.h +++ b/src/evaluate.h @@ -25,6 +25,8 @@ //// Includes //// +#include + #include "material.h" #include "pawns.h" @@ -45,8 +47,10 @@ class Position; struct EvalInfo { + EvalInfo() : futilityMargin(Value(0)) {} + // Middle game and endgame evaluations - Value mgValue, egValue; + Score value; // Pointers to material and pawn hash table entries MaterialInfo* mi; @@ -89,7 +93,7 @@ struct EvalInfo { 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. @@ -102,7 +106,6 @@ struct EvalInfo { //// 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);