|
bitsim
Model, simulate, estimate and control robots in C++
|
#include "cliff_walk.h"#include "bitrl/base/bitrl_types.h"#include "bitrl/network/tensorboard_server.h"#include "bitrl/rl/algorithms/td/q_learning.h"#include "bitrl/rl/policies/epsilon_greedy_policy.h"#include "bitsim/extern/nlohmann/json/json.hpp"#include "bitsim/utils/io/csv_file_writer.h"#include <algorithm>#include <chrono>#include <ctime>#include <filesystem>#include <fstream>#include <iomanip>#include <iostream>#include <memory>#include <numeric>#include <sstream>#include <string>#include <tuple>#include <vector>
Classes | |
| struct | log_experiment::Config |
| class | log_experiment::EpsilonGreedyPolicy |
| The EpsilonGreedyPolicy class. More... | |
| class | log_experiment::CliffWalk |
Namespaces | |
| namespace | log_experiment |
Typedefs | |
| using | log_experiment::json = nlohmann::json |
| using | log_experiment::real_t |
| real_t | |
| using | log_experiment::uint_t |
| uint_t | |
Functions | |
| json | log_experiment::to_json (const Config &c) |
| fs::path | log_experiment::experiment_dir (const Config &c) |
| std::string | log_experiment::run_name (real_t learning_rate) |
| real_t | log_experiment::mean_of_last (const std::vector< real_t > &values, std::size_t n) |
| json | log_experiment::run (const Config &c, real_t learning_rate, const fs::path &dir, bitrl::network::TensorboardServer *tensorboard) |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv ) |