bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitrl::rl::multi_agent::MultiAgentEpisodeResult Struct Reference

What one episode of a multi-agent environment gave. More...

#include <multi_agent_trainer.h>

Public Member Functions

real_t team_return () const noexcept
 The sum of the returns of the agents.

Public Attributes

std::vector< real_t > returns
 the undiscounted return of every agent
uint_t n_steps {0}
 the joint steps of the episode
uint_t n_collisions {0}
 the sum of the "collisions" the time steps reported
bool all_done {false}
 whether every agent finished, rather than the step limit

Detailed Description

What one episode of a multi-agent environment gave.

Member Function Documentation

◆ team_return()

real_t bitrl::rl::multi_agent::MultiAgentEpisodeResult::team_return ( ) const
inlinenoexcept

The sum of the returns of the agents.

Member Data Documentation

◆ all_done

bool bitrl::rl::multi_agent::MultiAgentEpisodeResult::all_done {false}

whether every agent finished, rather than the step limit

◆ n_collisions

uint_t bitrl::rl::multi_agent::MultiAgentEpisodeResult::n_collisions {0}

the sum of the "collisions" the time steps reported

◆ n_steps

uint_t bitrl::rl::multi_agent::MultiAgentEpisodeResult::n_steps {0}

the joint steps of the episode

◆ returns

std::vector<real_t> bitrl::rl::multi_agent::MultiAgentEpisodeResult::returns

the undiscounted return of every agent


The documentation for this struct was generated from the following file: