ray.rllib.env.multi_agent_episode.MultiAgentEpisode.__len__#

MultiAgentEpisode.__len__()[source]#

Returns the length of an MultiAgentEpisode.

Note that the length of an episode is defined by the difference between its actual timestep and the starting point.

Returns: An integer defining the length of the episode or an

error if the episode has not yet started.