From d1bb663216d87c39bedd9c1005199031dc58f697 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 4 Oct 2024 17:03:45 +0300 Subject: [PATCH] Update index.md --- docs/envs/MaMuJoCo/index.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/envs/MaMuJoCo/index.md b/docs/envs/MaMuJoCo/index.md index 77404e5a..48a4d0c0 100644 --- a/docs/envs/MaMuJoCo/index.md +++ b/docs/envs/MaMuJoCo/index.md @@ -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