|
bitsim
Model, simulate, estimate and control robots in C++
|
#include "bitrl/rl/algorithms/td/q_learning.h"#include "bitrl/base/bitrl_types.h"#include "bitrl/rl/policies/epsilon_greedy_policy.h"#include "bitrl/rl/trainers/rl_serial_agent_trainer.h"#include "bitrl/base/bitrl_log.h"#include "bitrl/envs/gymnasium/toy_text/cliff_world_env.h"#include "bitrl/network/rest_rl_env_client.h"#include "bitsim/utils/io/csv_file_writer.h"#include <iostream>#include <unordered_map>
Classes | |
| class | rl_example_10::RESTRLEnvClient |
| Utility class to facilitate HTTP requests between the environments REST API and C++ drivers. More... | |
| class | rl_example_10::RLSerialAgentTrainer< EnvType, AgentType > |
| struct | rl_example_10::RLSerialTrainerConfig |
| The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer. More... | |
| struct | rl_example_10::QLearningConfig |
| The QLearningConfig struct. More... | |
| class | rl_example_10::QLearningSolver< EnvTp, PolicyType > |
| The QLearning class. Table based implementation of the Q-learning algorithm using epsilon-greedy policy. The implementation also allows for exponential decay of the used epsilon. More... | |
| class | rl_example_10::EpsilonGreedyPolicy |
| The EpsilonGreedyPolicy class. More... | |
Namespaces | |
| namespace | rl_example_10 |
Typedefs | |
| typedef bitrl::envs::gymnasium::CliffWorld | rl_example_10::env_type |
| using | rl_example_10::real_t |
| real_t | |
| using | rl_example_10::uint_t |
| uint_t | |
Enumerations | |
| enum class | rl_example_10::EpsilonDecayOption |
| The EpsilonDecayOption enum. Enumerate various decaying options. More... | |
Functions | |
| int | main () |
Variables | |
| const std::string | rl_example_10::SERVER_URL = "http://0.0.0.0:8001/api" |
| const std::string | rl_example_10::SOLUTION_FILE = "qlearning_cliff_walking_v1.csv" |
| const std::string | rl_example_10::REWARD_PER_ITR = "reward_per_itr.csv" |
| const std::string | rl_example_10::POLICY = "policy.csv" |
| int main | ( | ) |