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:
Marco Costalba
2015-01-03 10:51:38 +01:00
parent c150f07291
commit 9d1e2c0e76
3 changed files with 61 additions and 66 deletions

View File

@@ -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);