X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fevaluate.h;h=fd1b0de1f6ea10074d55535c056ec5a0b039fd35;hb=154b8d3ecb19d0b3fa9ec11cc3a1e666dfe0d2ce;hp=6a8603ad089fcc9cf55c6b65855de8476224e5f0;hpb=281d520cc2bb0123efd230fce45119b57f0bae0d;p=stockfish diff --git a/src/evaluate.h b/src/evaluate.h index 6a8603ad..fd1b0de1 100644 --- a/src/evaluate.h +++ b/src/evaluate.h @@ -1,6 +1,6 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 - Copyright (C) 2004-2020 The Stockfish developers (see AUTHORS file) + Copyright (C) 2004-2023 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,25 +23,26 @@ #include "types.h" +namespace Stockfish { + class Position; namespace Eval { - std::string trace(const Position& pos); + std::string trace(Position& pos); + + Value simple_eval(const Position& pos, Color c); Value evaluate(const Position& pos); - extern bool useNNUE; - extern std::string eval_file_loaded; + extern std::string currentEvalFileName; // 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-eba324f53044.nnue" + #define EvalFileDefaultName "nn-1ee1aba5ed4c.nnue" namespace NNUE { - Value evaluate(const Position& pos); - bool load_eval(std::string name, std::istream& stream); void init(); void verify(); @@ -49,4 +50,6 @@ namespace Eval { } // namespace Eval +} // namespace Stockfish + #endif // #ifndef EVALUATE_H_INCLUDED