All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
usiResponse.h
Go to the documentation of this file.
1 /* usiResponse.h
2  */
3 #ifndef OSL_USIRESPONSE_H
4 #define OSL_USIRESPONSE_H
9 #include <string>
10 namespace osl
11 {
12  namespace game_playing
13  {
14  struct UsiState;
16  {
19  public:
21  ~UsiResponse();
22 
23  bool hasImmediateResponse(const std::string& command,
24  std::string& out);
25  void genmoveProbability(int limit, MoveLogProbVector& out);
26  private:
27  MoveVector generateGoodMoves();
28  void genmoveProbability(int limit, std::string& out);
29  void genmove(std::string& out);
30  void csashow(const NumEffectState& state, std::string& out);
31  void csamove(const NumEffectState& state, const std::string& str,
32  std::string& out);
33  void ki2moves(const NumEffectState& current,
34  const std::string& moves_str, std::string& out);
35  void ki2currentinfo(const NumEffectState& current, std::string& out);
36  void isValidPosition(const std::string& line, std::string& out);
37  };
38  }
40 }
41 
42 #endif /* OSL_USIRESPONSE_H */
43 // ;;; Local Variables:
44 // ;;; mode:c++
45 // ;;; c-basic-offset:2
46 // ;;; End: