get_terminateds#

MultiAgentEpisode.get_terminateds() → Dict[Hashable | str, Any][source]#

Returns the terminated flags of this episode’s agents.

Returns:

A dict mapping each agent ID in this episode to whether that agent’s SingleAgentEpisode is terminated, plus an "__all__" key for whether the episode as a whole is terminated.

Return type:

Dict[Hashable | str, Any]