mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Assorted work in uci.cpp
- Change UCI::value() signature This function should only return the value, lowerbound and upperbound info is up to the caller because it requires external knowledge, out of the scope of this little helper. - Retire 'key' command It is not an UCI command and is absolutely useless: never used. - Comments fixing and other trivia No functional change.
This commit is contained in:
@@ -67,7 +67,7 @@ private:
|
||||
void init(OptionsMap&);
|
||||
void loop(int argc, char* argv[]);
|
||||
|
||||
std::string value(Value v, Value alpha = -VALUE_INFINITE, Value beta = VALUE_INFINITE);
|
||||
std::string value(Value v);
|
||||
std::string square(Square s);
|
||||
std::string move(Move m, bool chess960);
|
||||
Move to_move(const Position& pos, std::string& str);
|
||||
|
||||
Reference in New Issue
Block a user