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
() → Optional[maze.core.log_events.kpi_calculator.KpiCalculator]¶ 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[maze.core.events.event_record.EventRecord]¶ Retrieve all recorded events of the current environment step.
-
abstract