X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fuci.h;h=7ca97d5c6bc455c3dd5129672f278bc3f40ba7d2;hb=3c0e86a91e48baea273306e45fb6cf13a59373cf;hp=9ca0ed36b4dd0385609f4d7dd317b70cc2f97eb9;hpb=6e63dd63a4f1e3074a9f5a8d7f64fdd0eba19c7e;p=stockfish diff --git a/src/uci.h b/src/uci.h index 9ca0ed36..7ca97d5c 100644 --- a/src/uci.h +++ b/src/uci.h @@ -19,6 +19,8 @@ #ifndef UCI_H_INCLUDED #define UCI_H_INCLUDED +#include +#include #include #include @@ -35,7 +37,7 @@ namespace UCI { // the win_rate_model() such that Stockfish outputs an advantage of // "100 centipawns" for a position if the engine has a 50% probability to win // from this position in selfplay at fishtest LTC time control. -const int NormalizeToPawnValue = 394; +const int NormalizeToPawnValue = 328; class Option; @@ -76,6 +78,7 @@ private: void init(OptionsMap&); void loop(int argc, char* argv[]); +int to_cp(Value v); std::string value(Value v); std::string square(Square s); std::string move(Move m, bool chess960);