-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Simplify extending benchmarl and improve extending examples (…
…#89) * amend * empty * amend * amend * amend * amend * amend * amend * change examples * amend * copyright * amend * amend * amend * amend * amend * amend * amend * amend * empty * empty
- Loading branch information
1 parent
61c04f7
commit 87b4f3e
Showing
57 changed files
with
250 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- pettingzoo_simple_adversary_config | ||
- _self_ | ||
|
||
|
||
task: "simple_adversary_v3" | ||
N: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- pettingzoo_simple_crypto_config | ||
- _self_ | ||
|
||
|
||
task: "simple_crypto_v3" | ||
max_cycles: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- pettingzoo_simple_push_config | ||
- _self_ | ||
- pettingzoo_simple_push_config | ||
|
||
|
||
task: "simple_push_v3" | ||
max_cycles: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- pettingzoo_simple_reference_config | ||
- _self_ | ||
|
||
|
||
task: "simple_reference_v3" | ||
max_cycles: 100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- pettingzoo_simple_speaker_listener_config | ||
- _self_ | ||
|
||
|
||
task: "simple_speaker_listener_v4" | ||
max_cycles: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- pettingzoo_simple_spread_config | ||
- _self_ | ||
|
||
|
||
task: "simple_spread_v3" | ||
max_cycles: 100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- pettingzoo_simple_tag_config | ||
- _self_ | ||
|
||
|
||
task: "simple_tag_v3" | ||
num_good: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- pettingzoo_simple_world_comm_config | ||
- _self_ | ||
|
||
|
||
task: "simple_world_comm_v3" | ||
num_good: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- pettingzoo_waterworld_config | ||
- _self_ | ||
|
||
|
||
task: "waterworld_v4" | ||
max_cycles: 500 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_balance_config | ||
|
||
- _self_ | ||
|
||
max_steps: 100 | ||
n_agents: 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_ball_passage_config | ||
- _self_ | ||
|
||
max_steps: 500 | ||
n_passages: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_ball_trajectory_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
joints: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_buzz_wire_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
random_start_angle: True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_discovery_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
n_agents: 5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_dispersion_config | ||
- _self_ | ||
|
||
|
||
|
||
max_steps: 100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_dropout_config | ||
- _self_ | ||
|
||
|
||
|
||
max_steps: 100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_flocking_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
n_agents: 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_give_way_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
mirror_passage: False | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_joint_passage_config | ||
- _self_ | ||
|
||
|
||
max_steps: 500 | ||
n_passages: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_joint_passage_size_config | ||
- _self_ | ||
|
||
|
||
max_steps: 500 | ||
n_passages: 3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_multi_give_way_config | ||
- _self_ | ||
|
||
|
||
max_steps: 200 | ||
agent_collision_penalty: -0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_navigation_config | ||
- _self_ | ||
|
||
|
||
|
||
max_steps: 100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_passage_config | ||
- _self_ | ||
|
||
|
||
max_steps: 500 | ||
n_passages: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_reverse_transport_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
n_agents: 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_sampling_config | ||
- _self_ | ||
|
||
|
||
|
||
max_steps: 100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_simple_adversary_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
n_agents: 3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_simple_crypto_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
dim_c: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_simple_push_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_simple_reference_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_simple_speaker_listener_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_simple_spread_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
n_agents: 3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_simple_tag_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
num_good_agents: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_simple_world_comm_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
num_good_agents: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_transport_config | ||
- _self_ | ||
|
||
|
||
|
||
max_steps: 100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_wheel_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
n_agents: 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
defaults: | ||
- _self_ | ||
- vmas_wind_flocking_config | ||
- _self_ | ||
|
||
|
||
max_steps: 100 | ||
horizon: 100 | ||
|
Oops, something went wrong.