MCPcopy Create free account
hub / github.com/bupticybee/TexasSolver / Solver

Class Solver

include/solver/Solver.h:11–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <include/GameTree.h>
10
11class Solver {
12public:
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected