EventEnvMixin¶
- class maze.core.env.event_env_mixin.EventEnvMixin¶
This interface provides a standard way of attaching environment events to the log statistics system.
Implement this interface in the environment to activate the statistics support.
- abstract get_kpi_calculator() KpiCalculator | None¶
If available, return an instance of a KPI calculator that can be used to calculate KPIs from events at the end of episode.
:return KPI calculator or None if KPIs are not supported in this env.
- abstract get_step_events() Iterable[EventRecord]¶
Retrieve all recorded events of the current environment step.