bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitrl::rl::algos::mc::MCTSConfig Struct Reference

The configuration of MCTSSolver. More...

#include <mc_tree_search_solver.h>

Public Attributes

uint_t n_simulations {200}
 How many simulations plan() runs before it picks an action.
uint_t max_depth {20}
 The most steps a simulation looks ahead, in the tree and in the rollout after it.
real_t temperature {1.0}
 How much UCB favours children that were visited less. It has the units of the returns, so scale it with them.
real_t gamma {1.0}
 The discount factor of the returns.
uint_t seed {42}
 The seed of the generator of the random rollouts and of the order the children are tried in.

Detailed Description

The configuration of MCTSSolver.

Member Data Documentation

◆ gamma

real_t bitrl::rl::algos::mc::MCTSConfig::gamma {1.0}

The discount factor of the returns.

◆ max_depth

uint_t bitrl::rl::algos::mc::MCTSConfig::max_depth {20}

The most steps a simulation looks ahead, in the tree and in the rollout after it.

◆ n_simulations

uint_t bitrl::rl::algos::mc::MCTSConfig::n_simulations {200}

How many simulations plan() runs before it picks an action.

◆ seed

uint_t bitrl::rl::algos::mc::MCTSConfig::seed {42}

The seed of the generator of the random rollouts and of the order the children are tried in.

◆ temperature

real_t bitrl::rl::algos::mc::MCTSConfig::temperature {1.0}

How much UCB favours children that were visited less. It has the units of the returns, so scale it with them.


The documentation for this struct was generated from the following file: