Skip to content

schola.ray.env.sorted_multi_agent_space

schola.ray.env.sorted_multi_agent_space(multi_agent_space) : Sorts the spaces in a multi-agent space alphabetically by agent ID.

Parameters: : multi_agent_space (Dict*[int,DictSpace]*) – The multi-agent space to sort.

Returns: : The sorted multi-agent space.

Return type: : DictSpace