|
bitsim
Model, simulate, estimate and control robots in C++
|
#include "bitrl/base/bitrl_types.h"#include "bitrl/maths/vector_math.h"#include "bitrl/rl/algorithms/mc/first_visit_mc.h"#include "bitrl/rl/learning_rate_scheduler.h"#include "bitrl/rl/policies/epsilon_greedy_policy.h"#include "bitrl/rl/trainers/rl_serial_agent_trainer.h"#include "bitrl/envs/envs_utils.h"#include "bitrl/envs/gymnasium/toy_text/frozen_lake_env.h"#include "bitrl/network/rest_rl_env_client.h"#include <fstream>#include <iostream>#include <random>
Classes | |
| struct | example_22::RandomActionSelector |
| struct | example_22::TrajectoryGenerator |
| struct | example_22::DiscountGenerator |
| class | example_22::FrozenLake< side_size > |
| class | example_22::RESTRLEnvClient |
| Utility class to facilitate HTTP requests between the environments REST API and C++ drivers. More... | |
| struct | example_22::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 | example_22::RLSerialAgentTrainer< EnvType, AgentType > |
| struct | example_22::RLSerialTrainerConfig |
| The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer. More... | |
| class | example_22::FirstVisitMCSolver< EnvType, TrajectoryGenerator, DecayLRSchedule, DiscountGenerator > |
| struct | example_22::FirstVisitMCSolverConfig |
| class | example_22::EpsilonGreedyPolicy |
| The EpsilonGreedyPolicy class. More... | |
Namespaces | |
| namespace | example_22 |
Functions | |
| std::mt19937 | example_22::generator (SEED) |
| int | main () |
Variables | |
| const std::string | example_22::SERVER_URL = "http://0.0.0.0:8001/api" |
| const uint_t | example_22::SEED = 42 |
| int main | ( | ) |