|
bitsim
Model, simulate, estimate and control robots in C++
|
#include "bitrl/rl/algorithms/td/expected_sarsa.h"#include "bitrl/base/bitrl_log.h"#include "bitrl/base/bitrl_types.h"#include "bitrl/envs/gymnasium/toy_text/cliff_world_env.h"#include "bitrl/network/rest_rl_env_client.h"#include "bitrl/rl/policies/epsilon_greedy_policy.h"#include "bitrl/rl/trainers/rl_serial_agent_trainer.h"#include "bitsim/utils/io/csv_file_writer.h"#include <any>#include <iostream>#include <string>#include <tuple>#include <unordered_map>
Classes | |
| class | example_26::RESTRLEnvClient |
| Utility class to facilitate HTTP requests between the environments REST API and C++ drivers. More... | |
| class | example_26::RLSerialAgentTrainer< EnvType, AgentType > |
| struct | example_26::RLSerialTrainerConfig |
| The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer. More... | |
| struct | example_26::ExpectedSarsaConfig |
| The configuration of ExpectedSarsaSolver. More... | |
| class | example_26::ExpectedSarsaSolver< EnvType, PolicyType > |
| Tabular expected SARSA, see Sutton and Barto, Reinforcement Learning: An Introduction, section 6.6. More... | |
| class | example_26::EpsilonGreedyPolicy |
| The EpsilonGreedyPolicy class. More... | |
Namespaces | |
| namespace | example_26 |
Typedefs | |
| typedef bitrl::envs::gymnasium::CliffWorld | example_26::env_type |
| typedef ExpectedSarsaSolver< env_type, EpsilonGreedyPolicy > | example_26::solver_type |
| using | example_26::real_t |
| real_t | |
| using | example_26::uint_t |
| uint_t | |
Enumerations | |
| enum class | example_26::EpsilonDecayOption |
| The EpsilonDecayOption enum. Enumerate various decaying options. More... | |
Functions | |
| int | main () |
Variables | |
| const std::string | example_26::SERVER_URL = "http://0.0.0.0:8001/api" |
| const std::string | example_26::SOLUTION_FILE = "expected_sarsa_cliff_walking_v1.csv" |
| const std::string | example_26::REWARD_PER_ITR = "reward_per_itr.csv" |
| const std::string | example_26::POLICY = "policy.csv" |
| int main | ( | ) |