libmcts
A Monte Carlo Tree Search Library
isimulation_strategy.hpp
1 #ifndef SIMULATION_STRATEGY_H
2 #define SIMULATION_STRATEGY_H
3 
4 namespace mcts {
5 
6 // ----------------------------------------------------------------------
9 // ----------------------------------------------------------------------
10 template<typename Context>
12 public:
14 
15  virtual ~ISimulationStrategy() {}
16 
17  // ----------------------------------------------------------------------
23  // ----------------------------------------------------------------------
24  virtual double simulate(const Context &context) = 0;
25 };
26 }
27 
28 #endif
interface class for simulation strategies. this strategies are called in terminal nodes to evaluate t...
virtual double simulate(const Context &context)=0
calculate the ev of a given context.