Skip to content

Commit

Permalink
Updated documentation of observation format in Simple World Comm (#1212)
Browse files Browse the repository at this point in the history
  • Loading branch information
pandyah5 authored Jun 21, 2024
1 parent 98e8c20 commit 46d92e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pettingzoo/mpe/simple_world_comm/simple_world_comm.py
Original file line number Diff line number Diff line change
@@ -30,11 +30,11 @@
In particular, the good agents reward, is -5 for every collision with an adversary, -2 x bound by the `bound` function described in simple_tag, +2 for every collision with a food, and -0.05 x minimum distance to any food. The adversarial agents are rewarded +5 for collisions and -0.1 x minimum
distance to a good agent. s
Good agent observations: `[self_vel, self_pos, landmark_rel_positions, other_agent_rel_positions, other_agent_velocities, self_in_forest]`
Good agent observations: `[self_vel, self_pos, landmark_rel_positions, other_agent_rel_positions, self_in_forest, other_agent_velocities]`
Normal adversary observations:`[self_vel, self_pos, landmark_rel_positions, other_agent_rel_positions, other_agent_velocities, self_in_forest, leader_comm]`
Adversary leader observations: `[self_vel, self_pos, landmark_rel_positions, other_agent_rel_positions, other_agent_velocities, leader_comm]`
Adversary leader observations: `[self_vel, self_pos, landmark_rel_positions, other_agent_rel_positions, other_agent_velocities, self_in_forest, leader_comm]`
*Note that when the forests prevent an agent from being seen, the observation of that agents relative position is set to (0,0).*

0 comments on commit 46d92e0

Please sign in to comment.