|
libmcts
A Monte Carlo Tree Search Library
|
adds the backpropagated value to a running stats object that calculates the ev, mean and variance. More...
#include <avg_backpropagation_strategy.hpp>
Public Member Functions | |
| virtual void | on_backpropagate (const double &value) |
| saves an value according to some metric. More... | |
| virtual double | ev () const |
| gets the current expected value More... | |
| virtual double | std_deviation () const |
| gets the current standard deviation More... | |
| virtual double | variance () const |
| gets the current variance More... | |
| virtual int | nb_samples () const |
| gets the number of samples that are saved in the strat. More... | |
| virtual IBackpropagationStrategy * | create () |
| creates a new object of the same type and with the same constructor as the current object. More... | |
adds the backpropagated value to a running stats object that calculates the ev, mean and variance.
Definition at line 13 of file avg_backpropagation_strategy.hpp.
|
inlinevirtual |
creates a new object of the same type and with the same constructor as the current object.
Implements mcts::IBackpropagationStrategy.
Definition at line 27 of file avg_backpropagation_strategy.hpp.
|
inlinevirtual |
gets the current expected value
Implements mcts::IBackpropagationStrategy.
Definition at line 19 of file avg_backpropagation_strategy.hpp.
|
inlinevirtual |
gets the number of samples that are saved in the strat.
Implements mcts::IBackpropagationStrategy.
Definition at line 25 of file avg_backpropagation_strategy.hpp.
|
inlinevirtual |
saves an value according to some metric.
| value | to store |
Implements mcts::IBackpropagationStrategy.
Definition at line 17 of file avg_backpropagation_strategy.hpp.
|
inlinevirtual |
gets the current standard deviation
Implements mcts::IBackpropagationStrategy.
Definition at line 21 of file avg_backpropagation_strategy.hpp.
|
inlinevirtual |
gets the current variance
Implements mcts::IBackpropagationStrategy.
Definition at line 23 of file avg_backpropagation_strategy.hpp.
1.8.15