|
bitsim
Model, simulate, estimate and control robots in C++
|
Train one agent of a multi-agent environment, an episode at a time. More...
#include <agent_trainer.h>
Public Member Functions | |
| AgentTrainer (const MultiAgentTrainerConfig &config, LearnerType &learner) | |
| MultiAgentTrainingResult | train (EnvType &env) |
| Run config.n_episodes episodes of training. | |
Train one agent of a multi-agent environment, an episode at a time.
The same loop as MultiAgentTrainer, for a learner of one agent whose environment, such as a bitrl::envs::multi_agent::DistributedAgentEnv, gets the actions of the other agents elsewhere. Every participant of a distributed training runs one, with the same number of episodes.
|
inline |
|
inline |
Run config.n_episodes episodes of training.