|
bitsim
Model, simulate, estimate and control robots in C++
|
Classes | |
| struct | AgentValues |
| How an action or an observation travels as numbers, for DistributedAgentEnv. More... | |
| struct | AgentValues< T, std::enable_if_t< std::is_arithmetic_v< T >||std::is_enum_v< T > > > |
| struct | AgentValues< std::array< T, N > > |
| struct | AgentValues< std::vector< T > > |
| struct | DistributedAgentConfig |
| The settings of DistributedAgentEnv. More... | |
| class | DistributedAgentEnv |
| One agent of a multi-agent environment, in a process of its own. More... | |
| class | MultiAgentEnvBase |
| The base of environments where several agents act at the same time. More... | |
| class | MultiAgentGridWorld |
| Agents that walk a grid at the same time, each to its own goal, without bumping into each other. More... | |
| class | MultiAgentTimeStep |
| What a multi-agent environment returns after a reset or a joint step: an observation, a reward and a done flag for every agent. More... | |
| struct | RobotPose |
| The pose of a robot of MultiRobotNavigation: position and heading. More... | |
| class | MultiRobotNavigation |
| Differential drive robots that cross a circle to the opposite point, all at the same time, without driving into each other. More... | |
Enumerations | |
| enum class | GridMove : uint_t { STAY = 0 , UP = 1 , RIGHT = 2 , DOWN = 3 , LEFT = 4 } |
| The moves of an agent of MultiAgentGridWorld. More... | |
| enum class | GridObservation : uint_t { OWN_POSITION = 0 , JOINT_POSITIONS = 1 } |
| What an agent of MultiAgentGridWorld observes. More... | |
Functions | |
| template<typename T> | |
| real_t | observation_checksum (const T &observation) |
| A checksum of an observation that a real_t holds exactly, to tell that two copies of an environment agree. | |
| template<typename ObservationType> | |
| std::ostream & | operator<< (std::ostream &out, const MultiAgentTimeStep< ObservationType > &step) |
|
strong |
The moves of an agent of MultiAgentGridWorld.
| Enumerator | |
|---|---|
| STAY | |
| UP | |
| RIGHT | |
| DOWN | |
| LEFT | |
|
strong |
What an agent of MultiAgentGridWorld observes.
| Enumerator | |
|---|---|
| OWN_POSITION | its own cell only |
| JOINT_POSITIONS | its own cell and the cells of the others |
| real_t bitrl::envs::multi_agent::observation_checksum | ( | const T & | observation | ) |
A checksum of an observation that a real_t holds exactly, to tell that two copies of an environment agree.
| std::ostream & bitrl::envs::multi_agent::operator<< | ( | std::ostream & | out, |
| const MultiAgentTimeStep< ObservationType > & | step ) |