pantheonrl.common.multiagentenv

This module defines the standard Env classes for PantheonRL.

It defines the following Environments:

  • The abstract base MultiAgentEnv class

  • The abstract SimultaneousEnv

  • The abstract TurnBasedEnv

It defines a convenience DummyEnv for interacting with SARL algorithms.

It also defines the PlayerException and KillEnvException.

Classes

DummyEnv

Environment representing an interface for single-agent RL algorithms that assume access to a gym environment.

MultiAgentEnv

Base class for all Multi-agent environments.

SimultaneousEnv

Base class for all 2-player simultaneous games.

TurnBasedEnv

Base class for all 2-player turn-based games.

Exceptions

KillEnvException

Raise when the DummyEnv is killed

PlayerException

Raise when players in the environment are incorrectly set