Skip to content

Daycare API Reference

Family dispatcher

Daycare substrate family entrypoints.

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

Create a native PettingZoo ParallelEnv for Daycare.

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

Create a PettingZoo AEC environment for Daycare.

Daycare

Native PettingZoo implementation of Daycare.

DaycareConfig dataclass

Configuration for the native Daycare substrate.

DaycareParallelEnv

Bases: ParallelEnv[Agent, dict[str, ndarray], int]

PettingZoo ParallelEnv for Daycare.

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

Create the native Daycare parallel environment.

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

Create the native Daycare AEC environment.