| 9 | #include <include/GameTree.h> |
| 10 | |
| 11 | class Solver { |
| 12 | public: |
| 13 | enum MonteCarolAlg { |
| 14 | NONE, |
| 15 | PUBLIC |
| 16 | }; |
| 17 | Solver(); |
| 18 | Solver(shared_ptr<GameTree> tree); |
| 19 | shared_ptr<GameTree> getTree(); |
| 20 | virtual void train() = 0; |
| 21 | virtual void stop() = 0; |
| 22 | virtual json dumps(bool with_status,int depth) = 0; |
| 23 | virtual vector<vector<vector<float>>> get_strategy(shared_ptr<ActionNode> node,vector<Card> cards) = 0; |
| 24 | virtual vector<vector<vector<float>>> get_evs(shared_ptr<ActionNode> node,vector<Card> cards) = 0; |
| 25 | shared_ptr<GameTree> tree; |
| 26 | }; |
| 27 | |
| 28 | |
| 29 | #endif //TEXASSOLVER_SOLVER_H |
nothing calls this directly
no outgoing calls
no test coverage detected