|
libmcts
A Monte Carlo Tree Search Library
|
selector that chooses random children uniformly More...
#include <sampling_selector.hpp>
Public Types | |
| typedef std::uniform_int_distribution | DistributionType |
Public Types inherited from mcts::ISelectionStrategy< Context, Config > | |
| typedef ISelectionStrategy< Context, Config > | sstrategy_t |
Public Member Functions | |
| node_t * | select (node_t *node) |
| randomly chooses a child of node More... | |
selector that chooses random children uniformly
| Context | @README |
| Config | @README |
Definition at line 17 of file sampling_selector.hpp.
|
inlinevirtual |
randomly chooses a child of node
| node | to select child from |
Implements mcts::ISelectionStrategy< Context, Config >.
Definition at line 30 of file sampling_selector.hpp.
Referenced by mcts::SamplingToFunctionSelector< Context, Config >::select().
1.8.15