Skip to content

Commit

Permalink
Fix obs space documentation in simple_adversary.py (#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottower authored Mar 13, 2024
1 parent dffd61a commit 9185ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pettingzoo/mpe/simple_adversary/simple_adversary.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
target landmark, but negatively rewarded based on how close the adversary is to the target landmark. The adversary is rewarded based on distance to the target, but it doesn't know which landmark is the target landmark. All rewards are unscaled Euclidean distance (see main MPE documentation for
average distance). This means good agents have to learn to 'split up' and cover all landmarks to deceive the adversary.
Agent observation space: `[self_pos, self_vel, goal_rel_position, landmark_rel_position, other_agent_rel_positions]`
Agent observation space: `[goal_rel_position, landmark_rel_position, other_agent_rel_positions]`
Adversary observation space: `[landmark_rel_position, other_agents_rel_positions]`
Expand Down

0 comments on commit 9185ac9

Please sign in to comment.