]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.h
Merge remote-tracking branch 'upstream/master'
[stockfish] / src / evaluate.h
index abdbef9010d9db299c91c9bfdd56271227844d9e..2ab477eced24d62460ac14531449c56fd9b8439a 100644 (file)
@@ -20,7 +20,6 @@
 #define EVALUATE_H_INCLUDED
 
 #include <string>
-#include <optional>
 
 #include "types.h"
 
@@ -30,26 +29,27 @@ class Position;
 
 namespace Eval {
 
-  std::string trace(Position& pos);
-  Value evaluate(const Position& pos);
+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-c38c3d8d3920.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