|
bitsim
Model, simulate, estimate and control robots in C++
|
Train a team of learners on a multi-agent environment, an episode at a time. More...
#include <multi_agent_trainer.h>
Public Types | |
| typedef EnvType | env_type |
| typedef LearnerType | learner_type |
Public Member Functions | |
| MultiAgentTrainer (const MultiAgentTrainerConfig &config, learner_type &learner) | |
| MultiAgentTrainingResult | train (env_type &env) |
| Run config.n_episodes episodes of training. | |
Train a team of learners on a multi-agent environment, an episode at a time.
Every step the team chooses the joint action, the environment applies it, and the team learns from the transition. The team decides how its agents learn: independently, as IndependentQLearning does, or from the joint experience.
| typedef EnvType bitrl::rl::multi_agent::MultiAgentTrainer< EnvType, LearnerType >::env_type |
| typedef LearnerType bitrl::rl::multi_agent::MultiAgentTrainer< EnvType, LearnerType >::learner_type |
|
inline |
| MultiAgentTrainingResult bitrl::rl::multi_agent::MultiAgentTrainer< EnvType, LearnerType >::train | ( | env_type & | env | ) |
Run config.n_episodes episodes of training.