Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Oct 4, 2024
1 parent 038bf57 commit d1bb663
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/envs/MaMuJoCo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,15 @@ MaMuJoCo also supports the [PettingZoo.AECAPI](https://pettingzoo.farama.org/api



## How to create new agent factorizations
## How to create new agent factorizations
MaMuJoCo-v1 not only supports the existing factorization, but also supports creating new factorizations.
### example 'Ant-v5', '8x1'
In this example, we will create an agent factorization not present in Gymnasium-Robotics/MaMuJoCo the "Ant"/'8x1', where each agent controls a single joint/action (first implemented by [safe-MaMuJoCo](https://github.com/chauncygu/Safe-Multi-Agent-Mujoco)).

```{figure} figures/ant_8x1.png
:name: Ant 8 way factorization
```

first we will load the graph of MaMuJoCo:
```python
>>> from gymnasium_robotics.mamujoco_v1 import get_parts_and_edges
Expand Down

0 comments on commit d1bb663

Please sign in to comment.