ExternalCoreEnvRewardAggregator

class maze.core.agent_integration.external_core_env.ExternalCoreEnvRewardAggregator

Reward aggregator for summing up rewards that come as iterables from external env. Scalar rewards are just passed through.

get_interfaces() → List[Type[abc.ABC]]

No event interfaces required.

classmethod to_scalar_reward(reward: Any)float

Sum up reward if iterable, otherwise just pass through.