get_truncateds#

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

Returns the truncated flags of this episode’s agents.

Returns:

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

Return type:

Dict[Hashable | str, Any]