examples.multi_agent module

class examples.multi_agent.KeepLaneAgent[source]
act(obs)[source]

The agent action. See documentation on observations, AgentSpec, and AgentInterface.

Expects an adapted observation and returns an unadapted action.

examples.multi_agent.main(scenarios, sim_name, headless, num_episodes, seed, max_episode_steps=None)[source]