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