|
bitsim
Model, simulate, estimate and control robots in C++
|
Classes | |
| class | ActorNetImpl |
| class | CriticNetImpl |
| The Critic network. More... | |
| class | TorchCategorical |
| class | RESTRLEnvClient |
| Utility class to facilitate HTTP requests between the environments REST API and C++ drivers. More... | |
| class | RLSerialAgentTrainer |
| struct | RLSerialTrainerConfig |
| The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer. More... | |
| struct | A2CConfig |
| The A2CConfig struct. Configuration for A2CSolver class. More... | |
| class | A2CSolver |
| A2C solver assuming separate networks for the actor and the critic. Similar to the Reinforce algorithm implementation, the PolicyType should expose an act method with the following signature. More... | |
| class | TorchNormalDist |
| Normal distribution to be used with torchlib. More... | |
| struct | PPOConfig |
| The PPOConfig struct. Configuration for PPOSolver class. More... | |
| class | PPOSolver |
| struct | TorchAdaptor |
| The TorchStateAdaptor struct. More... | |
Typedefs | |
| typedef bitrl::envs::gymnasium::CartPole | env_type |
| using | real_t |
| real_t | |
| typedef torch::Tensor | torch_tensor_t |
| torch_tensor_t | |
| using | uint_t |
| uint_t | |
| using | real_t |
| real_t | |
| typedef torch::Tensor | torch_tensor_t |
| torch_tensor_t | |
| using | uint_t |
| uint_t | |
| using | real_t |
| real_t | |
| typedef torch::Tensor | torch_tensor_t |
| torch_tensor_t | |
| using | uint_t |
| uint_t | |
Enumerations | |
| enum class | DeviceType |
| Enumeration of various device types. More... | |
| enum class | DeviceType |
| Enumeration of various device types. More... | |
Functions | |
| TORCH_MODULE (ActorNet) | |
| TORCH_MODULE (CriticNet) | |
Variables | |
| const std::string | SERVER_URL = "http://0.0.0.0:8001/api" |
| const std::string | EXPERIMENT_ID = "1" |
| const std::string | POLICY = "policy.csv" |
| const uint_t | L1 = 4 |
| Layer sizes for Actor. | |
| const uint_t | L2 = 128 |
| const uint_t | L3 = 2 |
| const real_t | LEARNING_RATE = 0.01 |
| const auto | N_EPISODES = 1000 |
| typedef rlenvscpp::envs::gymnasium::CartPole rl_example_11::env_type |
| using bitsim::real_t |
| using bitsim::real_t |
| using bitsim::real_t |
| typedef torch::Tensor bitrl::torch_tensor_t |
| typedef torch::Tensor bitrl::torch_tensor_t |
| typedef torch::Tensor bitrl::torch_tensor_t |
| using bitsim::uint_t |
| using bitsim::uint_t |
| using bitsim::uint_t |
|
strong |
Enumeration of various device types.
|
strong |
Enumeration of various device types.
| rl_example_11::TORCH_MODULE | ( | ActorNet | ) |
| rl_example_11::TORCH_MODULE | ( | CriticNet | ) |
| const std::string rl_example_11::EXPERIMENT_ID = "1" |
| const uint_t rl_example_11::L1 = 4 |
Layer sizes for Actor.
| const uint_t rl_example_11::L2 = 128 |
| const uint_t rl_example_11::L3 = 2 |
|
constexpr |
| const auto rl_example_11::N_EPISODES = 1000 |
| const std::string rl_example_11::POLICY = "policy.csv" |
| const std::string rl_example_11::SERVER_URL = "http://0.0.0.0:8001/api" |