X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.h;h=d7cc6e290fb5ac3fa23d55316d5dff0161899bd4;hp=3615fe6d7e6b112946e055db8f2e89a86c217ec1;hb=HEAD;hpb=af4b62a593cc4fa6d7d34110c41301028a5c9695 diff --git a/src/evaluate.h b/src/evaluate.h index 3615fe6d..2ab477ec 100644 --- a/src/evaluate.h +++ b/src/evaluate.h @@ -20,7 +20,6 @@ #define EVALUATE_H_INCLUDED #include -#include #include "types.h" @@ -30,26 +29,27 @@ class Position; namespace Eval { - std::string trace(Position& pos); - Value evaluate(const Position& pos, int* complexity = nullptr); +std::string trace(Position& pos); - extern bool useNNUE; - extern std::string currentEvalFileName; +Value simple_eval(const Position& pos, Color c); +Value evaluate(const Position& pos); - // The default net name MUST follow the format nn-[SHA256 first 12 digits].nnue - // for the build process (profile-build and fishtest) to work. Do not change the - // name of the macro, as it is used in the Makefile. - #define EvalFileDefaultName "nn-52471d67216a.nnue" +extern std::string currentEvalFileName; - namespace NNUE { +// The default net name MUST follow the format nn-[SHA256 first 12 digits].nnue +// for the build process (profile-build and fishtest) to work. Do not change the +// name of the macro, as it is used in the Makefile. +#define EvalFileDefaultName "nn-0000000000a0.nnue" - void init(); - void verify(); +namespace NNUE { - } // namespace NNUE +void init(); +void verify(); -} // namespace Eval +} // namespace NNUE -} // namespace Stockfish +} // namespace Eval -#endif // #ifndef EVALUATE_H_INCLUDED +} // namespace Stockfish + +#endif // #ifndef EVALUATE_H_INCLUDED