]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.h
Introduce simple_eval() for lazy evaluations
[stockfish] / src / evaluate.h
index 586e3b81f04fe239c58d1c12b384c3610e1a2bdf..7f4feedf0c6be62ecad204587d6b49f56e41f35e 100644 (file)
 #define EVALUATE_H_INCLUDED
 
 #include <string>
-#include <optional>
 
 #include "types.h"
 
 namespace Stockfish {
 
 class Position;
+enum Value : int;
 
 namespace Eval {
 
   std::string trace(Position& pos);
+
+  Value simple_eval(const Position& pos, Color c);
   Value evaluate(const Position& pos);
 
   extern std::string currentEvalFileName;