diff --git a/docs/envs/MaMuJoCo/index.md b/docs/envs/MaMuJoCo/index.md index 9ecdf882..94d2b9b0 100644 --- a/docs/envs/MaMuJoCo/index.md +++ b/docs/envs/MaMuJoCo/index.md @@ -46,13 +46,13 @@ MaMuJoCo also supports the [PettingZoo.AECAPI](https://pettingzoo.farama.org/api ## How to create new agent factorizations -### example 'Ant-v4', '8x1' +### 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)). first we will load the graph of MaMuJoCo: ```python >>> from gymnasium_robotics.mamujoco_v1 import get_parts_and_edges ->>> unpartioned_nodes, edges, global_nodes = get_parts_and_edges('Ant-v4', None) +>>> unpartioned_nodes, edges, global_nodes = get_parts_and_edges('Ant-v5', None) ``` The `unpartioned_nodes` contain the nodes of the MaMuJoCo graph. The `edges` well, contain the edges of the graph.