bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
example_22 Namespace Reference

Classes

struct  RandomActionSelector
struct  TrajectoryGenerator
struct  DiscountGenerator
class  FrozenLake
class  RESTRLEnvClient
 Utility class to facilitate HTTP requests between the environments REST API and C++ drivers. More...
struct  InverseDecayLRScheduler
 struct InverseDecayLRScheduler. Decays the learning rate it was given with the episodes, as alpha / (1 + episode / decay), but not below min_alpha. A constant learning rate keeps the estimates of Monte Carlo and temporal difference methods moving with every new return; a decaying one lets them settle on the mean. More...
class  RLSerialAgentTrainer
struct  RLSerialTrainerConfig
 The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer. More...
class  FirstVisitMCSolver
struct  FirstVisitMCSolverConfig
class  EpsilonGreedyPolicy
 The EpsilonGreedyPolicy class. More...

Typedefs

typedef FrozenLake< 4 > env_type
typedef TrajectoryGenerator trajectory_generator_type
typedef InverseDecayLRScheduler learning_rate_scheduler_type
typedef FirstVisitMCSolverConfig solver_config_type
typedef DiscountGenerator discount_generator_type
typedef FirstVisitMCSolver< env_type, trajectory_generator_type, learning_rate_scheduler_type, discount_generator_type > solver_type
using real_t
 real_t
using uint_t
 uint_t

Functions

std::mt19937 generator (SEED)

Variables

const std::string SERVER_URL = "http://0.0.0.0:8001/api"
const uint_t SEED = 42

Typedef Documentation

◆ discount_generator_type

◆ env_type

◆ learning_rate_scheduler_type

◆ real_t

◆ solver_config_type

◆ solver_type

◆ trajectory_generator_type

◆ uint_t

Function Documentation

◆ generator()

std::mt19937 example_22::generator ( SEED )

Variable Documentation

◆ SEED

const uint_t example_22::SEED = 42

◆ SERVER_URL

const std::string example_22::SERVER_URL = "http://0.0.0.0:8001/api"