Skip to content

Territory API Reference

Family dispatcher

Territory substrate family entrypoints.

parallel_env(sub_substrate: str = 'open', **kwargs: Any)

Create a native PettingZoo ParallelEnv for a Territory variant.

env(sub_substrate: str = 'open', **kwargs: Any)

Create a PettingZoo AEC environment for a Territory variant.

Territory Open substrate

Native Territory: Open substrate.

TerritoryOpenConfig dataclass

Bases: TerritoryConfig

Configuration for Territory: Open.

TerritoryOpenParallelEnv

Bases: TerritoryParallelEnv

PettingZoo ParallelEnv for Territory: Open.

parallel_env(render_mode: RenderMode = None, config: TerritoryOpenConfig | None = None, **config_overrides: Any) -> TerritoryOpenParallelEnv

Create the native Territory: Open ParallelEnv.

env(render_mode: RenderMode = None, **kwargs: Any)

Create the native Territory: Open AEC env.

Territory Rooms substrate

Native Territory: Rooms substrate.

TerritoryRoomsConfig dataclass

Bases: TerritoryConfig

Configuration for Territory: Rooms.

TerritoryRoomsParallelEnv

Bases: TerritoryParallelEnv

PettingZoo ParallelEnv for Territory: Rooms.

parallel_env(render_mode: RenderMode = None, config: TerritoryRoomsConfig | None = None, **config_overrides: Any) -> TerritoryRoomsParallelEnv

Create the native Territory: Rooms ParallelEnv.

env(render_mode: RenderMode = None, **kwargs: Any)

Create the native Territory: Rooms AEC env.

Territory Inside Out substrate

Native Territory: Inside Out substrate.

TerritoryInsideOutConfig dataclass

Bases: TerritoryConfig

Configuration for Territory: Inside Out.

TerritoryInsideOutParallelEnv

Bases: TerritoryParallelEnv

PettingZoo ParallelEnv for Territory: Inside Out.

parallel_env(render_mode: RenderMode = None, config: TerritoryInsideOutConfig | None = None, **config_overrides: Any) -> TerritoryInsideOutParallelEnv

Create the native Territory: Inside Out ParallelEnv.

env(render_mode: RenderMode = None, **kwargs: Any)

Create the native Territory: Inside Out AEC env.