bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
agent_trainer.h File Reference
#include "bitrl/base/bitrl_types.h"
#include "bitrl/rl/multi_agent/multi_agent_trainer.h"
#include <chrono>
#include <concepts>
#include <functional>
Include dependency graph for agent_trainer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bitrl::rl::multi_agent::AgentTrainer< EnvType, LearnerType >
 Train one agent of a multi-agent environment, an episode at a time. More...

Namespaces

namespace  bitrl
 Various utilities used when working with RL problems.
namespace  bitrl::rl
namespace  bitrl::rl::multi_agent

Functions

template<typename EnvType, typename ActorType>
requires agent_env<EnvType> && agent_actor<ActorType, EnvType>
MultiAgentEpisodeResult bitrl::rl::multi_agent::run_agent_episode (EnvType &env, ActorType &actor, const std::function< void(const typename EnvType::time_step_type &)> &on_step={})
 Play one episode of env with the action of one agent chosen by actor.